summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2017-05-31 22:23:21 +0200
committerrnhmjoj <micheleguerinirocco@me.com>2017-06-01 00:15:16 +0200
commit9e61a82ab388be7b46a780ac999109cc9cc69478 (patch)
tree2e4d953e6dbb2b203b183867af3a5bddd390667b /pkgs/development/python-modules
parent7b4acc6626c631645b29e1486e81c5683fa82c7c (diff)
downloadnixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.tar
nixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.tar.gz
nixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.tar.bz2
nixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.tar.lz
nixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.tar.xz
nixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.tar.zst
nixlib-9e61a82ab388be7b46a780ac999109cc9cc69478.zip
pythonPackages.ecpy: init at 0.8.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/ecpy/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ecpy/default.nix b/pkgs/development/python-modules/ecpy/default.nix
new file mode 100644
index 000000000000..57549792d218
--- /dev/null
+++ b/pkgs/development/python-modules/ecpy/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchPypi, buildPythonPackage, hidapi
+, pycrypto, pillow, protobuf, future, ecpy
+}:
+
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "ECPy";
+  version = "0.8.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0ab60sx4bbsmccwmdvz1023r0cbzi4phar4ipzn5npdj5gw1ny4l";
+  };
+
+  buildInputs = [ hidapi pycrypto pillow protobuf future ];
+
+  meta = with stdenv.lib; {
+    description = "Pure Pyhton Elliptic Curve Library";
+    homepage = "https://github.com/ubinity/ECPy";
+    license = licenses.asl20;
+  };
+}