nixpkgs/pkgs/development/python-modules/pecan/default.nix

60 lines
912 B
Nix
Raw Normal View History

2017-08-09 04:33:54 +00:00
{ stdenv
, fetchPypi
, buildPythonPackage
, isPy27
2017-08-09 04:33:54 +00:00
# Python deps
, logutils
, Mako
, singledispatch
, six
, webtest
# Test Inputs
, pytestCheckHook
2017-08-09 04:33:54 +00:00
, genshi
, gunicorn
, jinja2
, Kajiki
2019-01-02 18:40:35 +00:00
, mock
, sqlalchemy
, uwsgi
, virtualenv
2017-08-09 04:33:54 +00:00
}:
buildPythonPackage rec {
pname = "pecan";
version = "1.4.0";
2017-08-09 04:33:54 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a";
2017-08-09 04:33:54 +00:00
};
propagatedBuildInputs = [
logutils
Mako
singledispatch
six
webtest
2017-08-09 04:33:54 +00:00
];
checkInputs = [
pytestCheckHook
genshi
gunicorn
jinja2
mock
sqlalchemy
virtualenv
] ++ stdenv.lib.optionals isPy27 [ Kajiki ];
pytestFlagsArray = [
"--pyargs pecan "
];
2019-01-02 18:40:35 +00:00
2017-08-09 04:33:54 +00:00
meta = with stdenv.lib; {
description = "Pecan";
homepage = "http://www.pecanpy.org/";
changelog = "https://pecan.readthedocs.io/en/latest/changes.html";
2017-08-09 04:33:54 +00:00
};
}