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