about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/paste/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/paste/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/paste/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/paste/default.nix b/nixpkgs/pkgs/development/python-modules/paste/default.nix
new file mode 100644
index 000000000000..a29deed503ed
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/paste/default.nix
@@ -0,0 +1,34 @@
+{ lib, stdenv
+, buildPythonPackage
+, fetchPypi
+, six
+, pytestrunner
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "paste";
+  version = "3.5.0";
+
+  src = fetchPypi {
+    pname = "Paste";
+    inherit version;
+    sha256 = "17f3zppjjprs2jnklvzkz23mh9jdn6b1f445mvrjdm4ivi15q28v";
+  };
+
+  propagatedBuildInputs = [ six ];
+
+  checkInputs = [ pytestrunner pytest ];
+
+  # Certain tests require network
+  checkPhase = ''
+    py.test -k "not test_cgiapp and not test_proxy"
+  '';
+
+  meta = with lib; {
+    description = "Tools for using a Web Server Gateway Interface stack";
+    homepage = "http://pythonpaste.org/";
+    license = licenses.mit;
+  };
+
+}