From 2b5659dc04c4d163aca087bb0653337845bbdf34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 31 Aug 2018 15:44:47 +0200 Subject: [PATCH] python.pkgs.ecpy: 0.9.0 -> 0.9.1 --- .../development/python-modules/ecpy/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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;