python311Packages.pygmars: fix version specifier

This commit is contained in:
Fabian Affolter 2023-05-11 16:56:31 +02:00
parent d72d80e998
commit 1053c1e033

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 = [