diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix b/nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix new file mode 100644 index 000000000000..3301521b085e --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pastedeploy/default.nix @@ -0,0 +1,31 @@ +{ 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; + }; + +} |