1{
2 buildPythonPackage,
3 lib,
4 foundationdb,
5}:
6
7buildPythonPackage {
8 pname = "foundationdb";
9 version = foundationdb.version;
10
11 src = foundationdb.pythonsrc;
12 unpackCmd = "tar xf $curSrc";
13
14 patchPhase = ''
15 substituteInPlace ./fdb/impl.py \
16 --replace libfdb_c.so "${foundationdb.lib}/lib/libfdb_c.so"
17 '';
18
19 doCheck = false;
20
21 meta = {
22 description = "Python bindings for FoundationDB";
23 homepage = "https://www.foundationdb.org";
24 license = with lib.licenses; [ asl20 ];
25 maintainers = with lib.maintainers; [ thoughtpolice ];
26 };
27}