3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ecpy/default.nix

24 lines
549 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi
, pycrypto, pillow, protobuf, future
2017-05-31 21:23:21 +01:00
}:
buildPythonPackage rec {
pname = "ECPy";
2018-08-13 08:23:44 +01:00
version = "0.9.1";
2017-05-31 21:23:21 +01:00
disabled = !isPy3k;
2017-05-31 21:23:21 +01:00
src = fetchPypi {
inherit pname version;
2018-08-13 08:23:44 +01:00
sha256 = "f0df66be67f3de0152dfb3c453f4247bdfa2b4e37aa75b98617a637376032229";
2017-05-31 21:23:21 +01:00
};
buildInputs = [ hidapi pycrypto pillow protobuf future ];
meta = with stdenv.lib; {
description = "Pure Pyhton Elliptic Curve Library";
homepage = https://github.com/ubinity/ECPy;
2017-05-31 21:23:21 +01:00
license = licenses.asl20;
};
}