Merge pull request #231308 from fabaff/pygmars-fix

python311Packages.pygmars: fix version specifier
This commit is contained in:
Fabian Affolter 2023-05-12 09:34:46 +02:00 committed by GitHub
commit 8b1892e28c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,14 @@ buildPythonPackage rec {
hash = "sha256-PiH1lV1Vt9VTSOB+jep8FHIdk8qnauxj4nP3CIi/m7o=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
postPatch = ''
# https://github.com/nexB/pygmars/pull/9
substituteInPlace setup.cfg \
--replace ">=3.6.*" ">=3.6"
'';
dontConfigure = true;
nativeBuildInputs = [