nixpkgs-suyu/pkgs/development/python-modules/pecan/default.nix
Drew Risinger d45ea33a85 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).
2020-09-21 10:55:45 -07:00

59 lines
912 B
Nix

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