Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information
1 parent
21a6f3a
commit d45ea33
Showing
1 changed file
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,59 @@ | ||
{ stdenv | ||
, fetchPypi | ||
, buildPythonPackage | ||
, isPy27 | ||
# Python deps | ||
, singledispatch | ||
, logutils | ||
, webtest | ||
, Mako | ||
, singledispatch | ||
, six | ||
, webtest | ||
# Test Inputs | ||
, pytestCheckHook | ||
, genshi | ||
, Kajiki | ||
, sqlalchemy | ||
, gunicorn | ||
, jinja2 | ||
, virtualenv | ||
, Kajiki | ||
, mock | ||
, sqlalchemy | ||
, uwsgi | ||
, virtualenv | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "pecan"; | ||
version = "1.3.3"; | ||
version = "1.4.0"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "b5461add4e3f35a7ee377b3d7f72ff13e93f40f3823b3208ab978b29bde936ff"; | ||
sha256 = "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a"; | ||
}; | ||
|
||
propagatedBuildInputs = [ singledispatch logutils ]; | ||
buildInputs = [ | ||
webtest Mako genshi Kajiki sqlalchemy gunicorn jinja2 virtualenv | ||
propagatedBuildInputs = [ | ||
logutils | ||
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; { | ||
description = "Pecan"; | ||
homepage = "https://github.com/pecan/pecan"; | ||
homepage = "http://www.pecanpy.org/"; | ||
changelog = "https://pecan.readthedocs.io/en/latest/changes.html"; | ||
}; | ||
} |