about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-04-23 22:41:11 +0200
committerGitHub <noreply@github.com>2023-04-23 22:41:11 +0200
commit29daff82830be6301198529c22f60416733d877a (patch)
tree5c3639e7950414d5c33624b0fd79d69621bda3a7
parent8ac906319d2c5c728454d107f41e0630bc8d8365 (diff)
parent877095c0f2ec8720f31ead0f4218651759a18f18 (diff)
Merge pull request #227764 from fabaff/gemfileparser2-fix
python310Packages.gemfileparser2: fix invalid specifier
-rw-r--r--pkgs/development/python-modules/gemfileparser2/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gemfileparser2/default.nix b/pkgs/development/python-modules/gemfileparser2/default.nix
index f6a2c0877bfd6..4a24fb07d7b11 100644
--- a/pkgs/development/python-modules/gemfileparser2/default.nix
+++ b/pkgs/development/python-modules/gemfileparser2/default.nix
@@ -20,6 +20,12 @@ buildPythonPackage rec {
 
   dontConfigure = true;
 
+  postPatch = ''
+    # https://github.com/nexB/gemfileparser2/pull/8
+    substituteInPlace setup.cfg \
+      --replace ">=3.6.*" ">=3.6"
+  '';
+
   nativeBuildInputs = [
     setuptools-scm
   ];