vscodium: fix bundle resources being modified on darwin (#373630)
[NixPkgs.git] / pkgs / servers / foundationdb / python.nix
blob152f704ee1473dde80a914582a83d06f9971a5ca
2   buildPythonPackage,
3   lib,
4   foundationdb,
5 }:
7 buildPythonPackage {
8   pname = "foundationdb";
9   version = foundationdb.version;
11   src = foundationdb.pythonsrc;
12   unpackCmd = "tar xf $curSrc";
14   patchPhase = ''
15     substituteInPlace ./fdb/impl.py \
16       --replace libfdb_c.so "${foundationdb.lib}/lib/libfdb_c.so"
17   '';
19   doCheck = false;
21   meta = with lib; {
22     description = "Python bindings for FoundationDB";
23     homepage = "https://www.foundationdb.org";
24     license = with licenses; [ asl20 ];
25     maintainers = with maintainers; [ thoughtpolice ];
26   };