about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-12-11 20:05:52 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2016-12-11 20:07:24 +0100
commit826649ddf459e35e6fa6e57ae333637977f6b235 (patch)
treeb6a3f5c7f1c63283fb22ee98e924c9ce63fda9dd /pkgs/development/python-modules
parent7a538938a040a0fb05c673b058359e756ba680fd (diff)
downloadnixlib-826649ddf459e35e6fa6e57ae333637977f6b235.tar
nixlib-826649ddf459e35e6fa6e57ae333637977f6b235.tar.gz
nixlib-826649ddf459e35e6fa6e57ae333637977f6b235.tar.bz2
nixlib-826649ddf459e35e6fa6e57ae333637977f6b235.tar.lz
nixlib-826649ddf459e35e6fa6e57ae333637977f6b235.tar.xz
nixlib-826649ddf459e35e6fa6e57ae333637977f6b235.tar.zst
nixlib-826649ddf459e35e6fa6e57ae333637977f6b235.zip
pythonPackages.multidict: init at 2.1.4
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/multidict/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/multidict/default.nix b/pkgs/development/python-modules/multidict/default.nix
new file mode 100644
index 000000000000..9a2e13f0c598
--- /dev/null
+++ b/pkgs/development/python-modules/multidict/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, fetchurl
+, buildPythonPackage
+, pytest
+, isPy3k
+}:
+
+let
+  pname = "multidict";
+  version = "2.1.4";
+in buildPythonPackage rec {
+  name = "${pname}-${version}";
+
+  src = fetchurl {
+    url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
+    sha256 = "a77aa8c9f68846c3b5db43ff8ed2a7a884dbe845d01f55113a3fba78518c4cd7";
+  };
+
+  buildInputs = [ pytest ];
+
+  checkPhase = ''
+    py.test
+  '';
+
+  disabled = !isPy3k;
+
+  meta = {
+    description = "Multidict implementation";
+    homepage = https://github.com/aio-libs/multidict/;
+    license = lib.licenses.asl20;
+  };
+}
\ No newline at end of file