diff --git a/pkgs/development/python-modules/allure-pytest/default.nix b/pkgs/development/python-modules/allure-pytest/default.nix index 6d4a520164d2..d29f798893a0 100644 --- a/pkgs/development/python-modules/allure-pytest/default.nix +++ b/pkgs/development/python-modules/allure-pytest/default.nix @@ -9,18 +9,23 @@ buildPythonPackage rec { pname = "allure-pytest"; - version = "2.15.3"; + version = "2.16.0"; pyproject = true; src = fetchFromGitHub { owner = "allure-framework"; repo = "allure-python"; tag = version; - hash = "sha256-06SKodvyoT0mYn4RmAIryZc+VyTI79KXFK+2/zuhzQ0="; + hash = "sha256-IwkbrOEhPuScn/eTDevbgV3w/awPivvSauD1tmAH7Qk="; }; sourceRoot = "${src.name}/allure-pytest"; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail "setuptools_scm<10" "setuptools_scm" + ''; + build-system = [ setuptools-scm ]; buildInputs = [ pytest ];