Commit 1053c1e0 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pygmars: fix version specifier

parent d72d80e9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = [