diff options
author | Theodore Ni | 2023-08-18 14:23:08 -0700 |
---|---|---|
committer | Theodore Ni | 2023-08-18 16:04:45 -0700 |
commit | 1bda6e5984e1e2c4f879d36943dbe632f724ed44 (patch) | |
tree | c35def993770508ec1cd3ebb450f78f8f9fb3d88 | |
parent | 4c254fe09db35027b619c0eb4e21f2164804f987 (diff) |
python3.pkgs.pg8000: add versioningit dependency
-rw-r--r-- | pkgs/development/python-modules/pg8000/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pg8000/default.nix b/pkgs/development/python-modules/pg8000/default.nix index 1e2fc644b29d..9e0815ddfc71 100644 --- a/pkgs/development/python-modules/pg8000/default.nix +++ b/pkgs/development/python-modules/pg8000/default.nix @@ -7,6 +7,7 @@ , pythonOlder , scramp , setuptools +, versioningit }: buildPythonPackage rec { @@ -23,6 +24,7 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools + versioningit ]; propagatedBuildInputs = [ @@ -33,10 +35,6 @@ buildPythonPackage rec { importlib-metadata ]; - postPatch = '' - sed '/^\[metadata\]/a version = ${version}' setup.cfg - ''; - # Tests require a running PostgreSQL instance doCheck = false; |