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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
972 B
Nix
Raw Normal View History

{ lib
2017-08-09 04:33:54 +00:00
, fetchPypi
, buildPythonPackage
, logutils
, Mako
, webtest
, pythonOlder
, pytestCheckHook
2017-08-09 04:33:54 +00:00
, genshi
, gunicorn
, jinja2
, six
, sqlalchemy
, virtualenv
2017-08-09 04:33:54 +00:00
}:
buildPythonPackage rec {
pname = "pecan";
version = "1.4.2";
format = "setuptools";
disabled = pythonOlder "3.6";
2017-08-09 04:33:54 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-SbJV5wHD8UYWBfWw6PVPDCGSLXhF1BTCTdZAn+aV1VA=";
2017-08-09 04:33:54 +00:00
};
propagatedBuildInputs = [
logutils
Mako
webtest
six
2017-08-09 04:33:54 +00:00
];
checkInputs = [
pytestCheckHook
genshi
gunicorn
jinja2
sqlalchemy
virtualenv
];
pytestFlagsArray = [
"--pyargs pecan"
];
pythonImportsCheck = [
"pecan"
];
2019-01-02 18:40:35 +00:00
meta = with lib; {
changelog = "https://pecan.readthedocs.io/en/latest/changes.html";
description = "WSGI object-dispatching web framework";
homepage = "https://www.pecanpy.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ applePrincess ];
2017-08-09 04:33:54 +00:00
};
}