nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix
2020-11-05 15:47:01 -08:00

32 lines
627 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytestrunner
, pytest
}:
buildPythonPackage rec {
version = "2.1.1";
pname = "PasteDeploy";
src = fetchPypi {
inherit pname version;
sha256 = "6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817";
};
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;
};
}