pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / servers / foundationdb / python.nix
blob29d1f0906df74734a263d3df21efadcee09da4bc
1 { buildPythonPackage, lib, foundationdb }:
3 buildPythonPackage {
4   pname = "foundationdb";
5   version = foundationdb.version;
7   src = foundationdb.pythonsrc;
8   unpackCmd = "tar xf $curSrc";
10   patchPhase = ''
11     substituteInPlace ./fdb/impl.py \
12       --replace libfdb_c.so "${foundationdb.lib}/lib/libfdb_c.so"
13   '';
15   doCheck = false;
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   };