diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-03-11 12:01:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 12:01:44 +0000 |
| commit | d2c528f01fe76f5cc4debaade390c48d1809ac7e (patch) | |
| tree | f39b0d3a4346f1d36bd86023c7f2886843362bd5 /pkgs/development/python-modules/rangehttpserver | |
| parent | 981c0bb504c088f9e6100063131c90fe1796f73d (diff) | |
| parent | 140a35879a1bec9907a15a66b6350e0efbef5239 (diff) | |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
| -rw-r--r-- | pkgs/development/python-modules/rangehttpserver/default.nix | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/rangehttpserver/default.nix b/pkgs/development/python-modules/rangehttpserver/default.nix index 673661b07b99..010b959edad3 100644 --- a/pkgs/development/python-modules/rangehttpserver/default.nix +++ b/pkgs/development/python-modules/rangehttpserver/default.nix @@ -2,20 +2,20 @@ , buildPythonPackage , fetchFromGitHub , setuptools -, nose +, pytestCheckHook , requests }: buildPythonPackage rec { pname = "rangehttpserver"; - version = "1.2.0"; + version = "1.3.3"; format = "pyproject"; src = fetchFromGitHub { owner = "danvk"; repo = "RangeHTTPServer"; - rev = version; - sha256 = "1sy9j6y8kp5jiwv2vd652v94kspp1yd4dwxrfqfn6zwnfyv2mzv5"; + rev = "refs/tags/${version}"; + hash = "sha256-ZXEbis37QO8t05JQ2qQQf5rkUSxq3DwzR3khAJkZ5W0="; }; nativeBuildInputs = [ @@ -23,16 +23,10 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - nose + pytestCheckHook requests ]; - checkPhase = '' - runHook preCheck - nosetests - runHook postCheck - ''; - pythonImportsCheck = [ "RangeHTTPServer" ]; @@ -40,6 +34,7 @@ buildPythonPackage rec { meta = with lib; { description = "SimpleHTTPServer with support for Range requests"; homepage = "https://github.com/danvk/RangeHTTPServer"; + changelog = "https://github.com/danvk/RangeHTTPServer/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; |
