Merge pull request #220627 from fabaff/rangehttpserver-bump
python310Packages.rangehttpserver: 1.2.0 -> 1.3.3
This commit is contained in:
commit
b04384c65c
1 changed files with 6 additions and 11 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue