nixpkgs-suyu/pkgs/development/python-modules/cheroot/default.nix

31 lines
766 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage
2017-12-24 05:00:12 +01:00
, more-itertools, six
, coverage, codecov, pytest, pytestcov, pytest-sugar, portend
, backports_unittest-mock, setuptools_scm }:
buildPythonPackage rec {
pname = "cheroot";
2017-12-24 05:00:12 +01:00
version = "6.0.0";
src = fetchPypi {
inherit pname version;
2017-12-24 05:00:12 +01:00
sha256 = "10s67wxymk4xg45l7ca59n4l6m6rnj8b9l52pg1angxh958lwixs";
};
2017-12-24 05:00:12 +01:00
propagatedBuildInputs = [ more-itertools six ];
buildInputs = [ setuptools_scm ];
checkInputs = [ coverage codecov pytest pytestcov pytest-sugar portend backports_unittest-mock ];
checkPhase = ''
py.test cheroot
'';
meta = with stdenv.lib; {
description = "High-performance, pure-Python HTTP";
homepage = https://github.com/cherrypy/cheroot;
license = licenses.mit;
};
}