3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cheroot/default.nix

31 lines
714 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage
2017-12-24 04:00:12 +00:00
, more-itertools, six
, pytest, pytestcov, portend
, backports_unittest-mock, setuptools_scm }:
buildPythonPackage rec {
pname = "cheroot";
2018-06-21 06:37:16 +01:00
version = "6.3.2";
src = fetchPypi {
inherit pname version;
2018-06-21 06:37:16 +01:00
sha256 = "52f915d077ce6201e59c95c4a2ef89617d9b90e6185defb40c03ff3515d2066f";
};
2017-12-24 04:00:12 +00:00
propagatedBuildInputs = [ more-itertools six ];
buildInputs = [ setuptools_scm ];
checkInputs = [ pytest pytestcov 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;
};
}