diff --git a/pkgs/development/python-modules/py7zr/default.nix b/pkgs/development/python-modules/py7zr/default.nix index 9e986b4cae52..0a96e999ec49 100644 --- a/pkgs/development/python-modules/py7zr/default.nix +++ b/pkgs/development/python-modules/py7zr/default.nix @@ -15,31 +15,25 @@ texttable, py-cpuinfo, pytest-benchmark, + pytest-httpserver, pytest-remotedata, pytest-timeout, pytestCheckHook, + requests, }: buildPythonPackage rec { pname = "py7zr"; - version = "0.22.0"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "miurahr"; repo = "py7zr"; tag = "v${version}"; - hash = "sha256-YR2cuHZWwqrytidAMbNvRV1/N4UZG8AMMmzcTcG9FvY="; + hash = "sha256-uV4zBQZlHfHgM/NiVSjI5I9wJRk9i4ihJn4B2R6XRuM="; }; - postPatch = - # Replace inaccessible mirror (qt.mirrors.tds.net): - # upstream PR: https://github.com/miurahr/py7zr/pull/637 - '' - substituteInPlace tests/test_concurrent.py \ - --replace-fail 'http://qt.mirrors.tds.net/qt/' 'https://download.qt.io/' - ''; - build-system = [ setuptools setuptools-scm @@ -60,9 +54,11 @@ buildPythonPackage rec { nativeCheckInputs = [ py-cpuinfo pytest-benchmark + pytest-httpserver pytest-remotedata pytest-timeout pytestCheckHook + requests ]; pytestFlags = [ "--benchmark-disable" ];