nixpkgs/pkgs/development/python-modules/cheroot/default.nix
2017-12-24 04:41:15 +00:00

31 lines
766 B
Nix

{ stdenv, fetchPypi, buildPythonPackage
, more-itertools, six
, coverage, codecov, pytest, pytestcov, pytest-sugar, portend
, backports_unittest-mock, setuptools_scm }:
buildPythonPackage rec {
pname = "cheroot";
version = "6.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "10s67wxymk4xg45l7ca59n4l6m6rnj8b9l52pg1angxh958lwixs";
};
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;
};
}