diff options
| author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-03-14 20:15:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-14 20:15:47 +0200 |
| commit | a9926eb5ec9c4df3913b306ff0ca3b9d0ba319b6 (patch) | |
| tree | 0c047f2fcae1ef46cd22922b6a49bfbeb3fa3531 /pkgs/development/python-modules/rangehttpserver | |
| parent | 93437909af24b6728e447ffbeaef7923f8814f3c (diff) | |
| parent | 8889512934037f08a9d09104d604b231095f8d02 (diff) | |
Merge branch 'master' into xen-4.15-pr
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
| -rw-r--r-- | pkgs/development/python-modules/rangehttpserver/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/rangehttpserver/default.nix b/pkgs/development/python-modules/rangehttpserver/default.nix index 217bffb174b8..010b959edad3 100644 --- a/pkgs/development/python-modules/rangehttpserver/default.nix +++ b/pkgs/development/python-modules/rangehttpserver/default.nix @@ -1,32 +1,31 @@ { lib , buildPythonPackage , fetchFromGitHub -, nose +, setuptools +, 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="; }; - checkInputs = [ - nose - requests + nativeBuildInputs = [ + setuptools ]; - checkPhase = '' - runHook preCheck - nosetests - runHook postCheck - ''; + nativeCheckInputs = [ + pytestCheckHook + requests + ]; pythonImportsCheck = [ "RangeHTTPServer" @@ -35,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 ]; }; |
