about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cornice
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-15 12:10:43 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-17 07:46:55 +0200
commitd572503c7a7485042a900d6e40b4af913930bc27 (patch)
tree0c3d4de70a1799924e3cf8dce98d48dd595d4f6d /pkgs/development/python-modules/cornice
parent0f4383eae500a6a5ace6982afbb83cb60b38dee1 (diff)
pythonPackages.cornice: 1.2.1 -> 3.4.1
Diffstat (limited to 'pkgs/development/python-modules/cornice')
-rw-r--r--pkgs/development/python-modules/cornice/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cornice/default.nix b/pkgs/development/python-modules/cornice/default.nix
new file mode 100644
index 0000000000000..dc7c9c334d3c0
--- /dev/null
+++ b/pkgs/development/python-modules/cornice/default.nix
@@ -0,0 +1,31 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pyramid
+, simplejson
+, six
+, venusian
+}:
+
+buildPythonPackage rec {
+  pname = "cornice";
+  version = "3.4.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "a7f8db903ba06c2584c7db4474459de3565d90b5e4ae4b97c687840e11d5b7fd";
+  };
+
+  propagatedBuildInputs = [ pyramid simplejson six venusian ];
+
+  # tests not packaged with pypi release
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/mozilla-services/cornice;
+    description = "Build Web Services with Pyramid";
+    license = licenses.mpl20;
+    maintainers = [ maintainers.costrouc ];
+  };
+
+}