Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
29 lines
594 B
Nix
29 lines
594 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|