1{ lib, buildPythonPackage, fetchPypi 2, cheroot, portend, routes, six 3, setuptools_scm 4, backports_unittest-mock, codecov, coverage, objgraph, pathpy, pytest, pytest-sugar, pytestcov 5}: 6 7buildPythonPackage rec { 8 name = "${pname}-${version}"; 9 pname = "CherryPy"; 10 version = "14.0.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "5f5ee020d6547a8d452b3560775ca2374ffe2ff8c0aec1b272e93b6af80d850e"; 15 }; 16 17 propagatedBuildInputs = [ cheroot portend routes six ]; 18 19 buildInputs = [ setuptools_scm ]; 20 21 checkInputs = [ backports_unittest-mock codecov coverage objgraph pathpy pytest pytest-sugar pytestcov ]; 22 23 checkPhase = '' 24 LANG=en_US.UTF-8 pytest 25 ''; 26 27 meta = with lib; { 28 homepage = "http://www.cherrypy.org"; 29 description = "A pythonic, object-oriented HTTP framework"; 30 license = licenses.bsd3; 31 }; 32}