Files
nixpkgs/pkgs/development/python-modules/foundationdb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
594 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
buildPythonPackage,
lib,
foundationdb,
}:
buildPythonPackage {
pname = "foundationdb";
version = foundationdb.version;
format = "setuptools";
src = foundationdb.pythonsrc;
unpackCmd = "tar xf $curSrc";
patchPhase = ''
substituteInPlace ./fdb/impl.py \
--replace libfdb_c.so "${foundationdb.lib}/lib/libfdb_c.so"
'';
doCheck = false;
meta = {
description = "Python bindings for FoundationDB";
homepage = "https://www.foundationdb.org";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ thoughtpolice ];
};
}