nixpkgs/pkgs/development/python-modules/pecan/default.nix
2018-02-03 17:43:30 +01:00

41 lines
709 B
Nix

{ stdenv
, fetchPypi
, buildPythonPackage
# Python deps
, singledispatch
, logutils
, webtest
, Mako
, genshi
, Kajiki
, sqlalchemy
, gunicorn
, jinja2
, virtualenv
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pecan";
version = "1.3.2";
patches = [
./python36_test_fix.patch
];
src = fetchPypi {
inherit pname version;
sha256 = "24f06cf88a488b75f433e62b33c1c97e4575d0cd91eec9eec841a81cecfd6de3";
};
propagatedBuildInputs = [ singledispatch logutils ];
buildInputs = [
webtest Mako genshi Kajiki sqlalchemy gunicorn jinja2 virtualenv
];
meta = with stdenv.lib; {
description = "Pecan";
homepage = "http://github.com/pecan/pecan";
};
}