mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
commit
4f9970fcbf
@ -5,15 +5,21 @@
|
||||
, backports_functools_lru_cache, requests_toolbelt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
let
|
||||
srcInfo = if isPy3k then {
|
||||
version = "18.0.1";
|
||||
sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";
|
||||
} else {
|
||||
version = "17.4.1";
|
||||
sha256 = "1kl17anzz535jgkn9qcy0c2m0zlafph0iv7ph3bb9mfrs2bgvagv";
|
||||
};
|
||||
in buildPythonPackage rec {
|
||||
pname = "CherryPy";
|
||||
version = "18.0.1";
|
||||
|
||||
disabled = !isPy3k;
|
||||
inherit (srcInfo) version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";
|
||||
inherit pname;
|
||||
inherit (srcInfo) version sha256;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cheroot contextlib2 portend routes six zc_lockfile ];
|
||||
|
@ -4,6 +4,7 @@
|
||||
, Babel
|
||||
, pytz
|
||||
, nine
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -16,6 +17,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ Babel pytz nine ];
|
||||
checkInputs = [ nose ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Kajiki provides fast well-formed XML templates";
|
||||
|
@ -12,6 +12,7 @@
|
||||
, gunicorn
|
||||
, jinja2
|
||||
, virtualenv
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -28,6 +29,8 @@ buildPythonPackage rec {
|
||||
webtest Mako genshi Kajiki sqlalchemy gunicorn jinja2 virtualenv
|
||||
];
|
||||
|
||||
checkInputs = [ mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pecan";
|
||||
homepage = "https://github.com/pecan/pecan";
|
||||
|
Loading…
Reference in New Issue
Block a user