about summary refs log tree commit diff
path: root/pkgs/development/python-modules/brotlipy
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-01 16:59:56 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-01 16:59:56 +0100
commita1ab0a6047043f096cc2175eb934e50cbc6fc547 (patch)
tree7c81304bb98b3db8b89614749360b3b6a8ae5d36 /pkgs/development/python-modules/brotlipy
parent33d1236900e004572b30107d7fea97a223baa3f5 (diff)
python.pkgs.brotlipy: move expression
Diffstat (limited to 'pkgs/development/python-modules/brotlipy')
-rw-r--r--pkgs/development/python-modules/brotlipy/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/brotlipy/default.nix b/pkgs/development/python-modules/brotlipy/default.nix
new file mode 100644
index 0000000000000..010b7019777e2
--- /dev/null
+++ b/pkgs/development/python-modules/brotlipy/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, cffi
+, enum34
+, construct
+}:
+
+buildPythonPackage rec {
+  pname = "brotlipy";
+  version = "0.6.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "10s2y19zywfkf3sksrw81czhva759aki0clld2pnnlgf64sz7016";
+  };
+
+  propagatedBuildInputs = [ cffi enum34 construct ];
+
+  meta = {
+    description = "Python bindings for the reference Brotli encoder/decoder";
+    homepage = "https://github.com/python-hyper/brotlipy/";
+    license = lib.licenses.mit;
+  };
+}
\ No newline at end of file