pythonPackages.pecan: 1.3.3 -> 1.4.0
* Update Homepage * Add Changelog * Convert to pytestCheckHook * Remove buildInputs, corrected to propagatedBuildInputs or checkInputs as appropriate. This caused downstream failures because some required packages were not in the runtime closure (PYTHONPATH).
This commit is contained in:
parent
21a6f3aa65
commit
d45ea33a85
|
@ -1,38 +1,59 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, isPy27
|
||||||
# Python deps
|
# Python deps
|
||||||
, singledispatch
|
|
||||||
, logutils
|
, logutils
|
||||||
, webtest
|
|
||||||
, Mako
|
, Mako
|
||||||
|
, singledispatch
|
||||||
|
, six
|
||||||
|
, webtest
|
||||||
|
# Test Inputs
|
||||||
|
, pytestCheckHook
|
||||||
, genshi
|
, genshi
|
||||||
, Kajiki
|
|
||||||
, sqlalchemy
|
|
||||||
, gunicorn
|
, gunicorn
|
||||||
, jinja2
|
, jinja2
|
||||||
, virtualenv
|
, Kajiki
|
||||||
, mock
|
, mock
|
||||||
|
, sqlalchemy
|
||||||
|
, uwsgi
|
||||||
|
, virtualenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pecan";
|
pname = "pecan";
|
||||||
version = "1.3.3";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b5461add4e3f35a7ee377b3d7f72ff13e93f40f3823b3208ab978b29bde936ff";
|
sha256 = "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ singledispatch logutils ];
|
propagatedBuildInputs = [
|
||||||
buildInputs = [
|
logutils
|
||||||
webtest Mako genshi Kajiki sqlalchemy gunicorn jinja2 virtualenv
|
Mako
|
||||||
|
singledispatch
|
||||||
|
six
|
||||||
|
webtest
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ mock ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
genshi
|
||||||
|
gunicorn
|
||||||
|
jinja2
|
||||||
|
mock
|
||||||
|
sqlalchemy
|
||||||
|
virtualenv
|
||||||
|
] ++ stdenv.lib.optionals isPy27 [ Kajiki ];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"--pyargs pecan "
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Pecan";
|
description = "Pecan";
|
||||||
homepage = "https://github.com/pecan/pecan";
|
homepage = "http://www.pecanpy.org/";
|
||||||
|
changelog = "https://pecan.readthedocs.io/en/latest/changes.html";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue