2018-10-26 02:01:13 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-02-14 14:13:35 +00:00
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
2018-10-26 02:01:13 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-14 07:37:22 +00:00
|
|
|
version = "2.0.1";
|
2018-10-26 02:01:13 +01:00
|
|
|
pname = "PasteDeploy";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:22 +00:00
|
|
|
sha256 = "d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a";
|
2018-10-26 02:01:13 +01:00
|
|
|
};
|
|
|
|
|
2019-02-14 14:13:35 +00:00
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
# no tests in PyPI tarball
|
|
|
|
# should be included with versions > 2.0.1
|
|
|
|
doCheck = false;
|
2018-10-26 02:01:13 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Load, configure, and compose WSGI applications and servers";
|
|
|
|
homepage = http://pythonpaste.org/deploy/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|