mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
python2Packages: remove superfluous overrides
Since Python 2 is not supported anymore we only keep those overrides which are used by leaf packages.
This commit is contained in:
committed by
Martin Weinelt
parent
4beaf5301d
commit
2cae050057
@@ -1,36 +0,0 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools-scm
|
||||
, cheroot, contextlib2, portend, routes, six, zc_lockfile
|
||||
, backports_unittest-mock, objgraph, pathpy, pytest, pytest-cov, backports_functools_lru_cache, requests-toolbelt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cherrypy";
|
||||
version = "17.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "CherryPy";
|
||||
inherit version;
|
||||
sha256 = "ef1619ad161f526745d4f0e4e517753d9d985814f1280e330661333d2ba05cdf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cheroot contextlib2 portend routes six zc_lockfile
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
checkInputs = [
|
||||
backports_unittest-mock objgraph pathpy pytest pytest-cov backports_functools_lru_cache requests-toolbelt
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest ${lib.optionalString stdenv.isDarwin "--ignore=cherrypy/test/test_wsgi_unix_socket.py"}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.cherrypy.org";
|
||||
description = "A pythonic, object-oriented HTTP framework";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user