diff --git a/pkgs/development/python-modules/ecpy/default.nix b/pkgs/development/python-modules/ecpy/default.nix index 97f04828300b..df843ed7c32e 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; - meta = with stdenv.lib; { + # No tests implemented + doCheck = false; + + meta = with lib; { description = "Pure Pyhton Elliptic Curve Library"; homepage = https://github.com/ubinity/ECPy; license = licenses.asl20;