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