mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 21:24:03 +00:00
python.pkgs.cheroot: init at 5.5.0
This commit is contained in:
parent
69c4724dd4
commit
1041009a92
28
pkgs/development/python-modules/cheroot/default.nix
Normal file
28
pkgs/development/python-modules/cheroot/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage
|
||||
, six
|
||||
, coverage, codecov, pytest, pytestcov, pytest-sugar, portend
|
||||
, backports_unittest-mock, setuptools_scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "cheroot";
|
||||
version = "5.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fhyk8lgs2blfx4zjvwsy6f0ynrs5fwnnr3qf07r6c4j3gwlkqsr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
buildInputs = [ coverage codecov pytest pytestcov pytest-sugar portend backports_unittest-mock setuptools_scm ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test cheroot
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "High-performance, pure-Python HTTP";
|
||||
homepage = https://github.com/cherrypy/cheroot;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -1659,6 +1659,8 @@ in {
|
||||
|
||||
channels = callPackage ../development/python-modules/channels {};
|
||||
|
||||
cheroot = callPackage ../development/python-modules/cheroot {};
|
||||
|
||||
circus = buildPythonPackage rec {
|
||||
name = "circus-0.11.1";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user