diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-31 15:44:47 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-31 15:56:52 +0200 |
commit | 2b5659dc04c4d163aca087bb0653337845bbdf34 (patch) | |
tree | 0b6f044b55e2faf08a574149efadef5d1d6e28bb /pkgs/development/python-modules/ecpy | |
parent | 2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93 (diff) |
python.pkgs.ecpy: 0.9.0 -> 0.9.1
Diffstat (limited to 'pkgs/development/python-modules/ecpy')
-rw-r--r-- | pkgs/development/python-modules/ecpy/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/ecpy/default.nix b/pkgs/development/python-modules/ecpy/default.nix index 97f04828300b8..df843ed7c32e5 100644 --- a/pkgs/development/python-modules/ecpy/default.nix +++ b/pkgs/development/python-modules/ecpy/default.nix @@ -1,21 +1,20 @@ -{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi -, pycrypto, pillow, protobuf, future -}: +{ lib, fetchPypi, buildPythonPackage, isPy3k, future }: buildPythonPackage rec { pname = "ECPy"; - version = "0.9.0"; - - disabled = !isPy3k; + version = "0.9.1"; src = fetchPypi { inherit pname version; - sha256 = "ef41346ae24789699f3bc3ddefbfac03ad6b73b7d3d19b998ba9ce47b67c7277"; + sha256 = "f0df66be67f3de0152dfb3c453f4247bdfa2b4e37aa75b98617a637376032229"; }; - buildInputs = [ hidapi pycrypto pillow protobuf future ]; + propagatedBuildInputs = lib.optional (!isPy3k) future; + + # No tests implemented + doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { description = "Pure Pyhton Elliptic Curve Library"; homepage = https://github.com/ubinity/ECPy; license = licenses.asl20; |