nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix
2019-02-17 14:40:50 +01:00

32 lines
625 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytestrunner
, pytest
}:
buildPythonPackage rec {
version = "2.0.1";
pname = "PasteDeploy";
src = fetchPypi {
inherit pname version;
sha256 = "d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a";
};
buildInputs = [ pytestrunner ];
checkInputs = [ pytest ];
# no tests in PyPI tarball
# should be included with versions > 2.0.1
doCheck = false;
meta = with stdenv.lib; {
description = "Load, configure, and compose WSGI applications and servers";
homepage = http://pythonpaste.org/deploy/;
license = licenses.mit;
};
}