python3Packages.foundationdb: init 7.3.42

This commit is contained in:
Jonas Heinrich 2025-04-07 13:29:22 +02:00
parent bd1e355625
commit c4ac0aeb70
2 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,27 @@
{
buildPythonPackage,
lib,
foundationdb,
}:
buildPythonPackage {
pname = "foundationdb";
version = foundationdb.version;
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 ];
};
}

View File

@ -5166,8 +5166,8 @@ self: super: with self; {
fortiosapi = callPackage ../development/python-modules/fortiosapi { };
foundationdb73 = callPackage ../servers/foundationdb/python.nix {
foundationdb = pkgs.foundationdb73;
foundationdb = callPackage ../development/python-modules/foundationdb {
inherit (pkgs) foundationdb;
};
fountains = callPackage ../development/python-modules/fountains { };