2017-05-31 21:23:21 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
|
|
|
, pycrypto, pillow, protobuf, future, ecpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "ECPy";
|
2018-01-20 10:57:52 +00:00
|
|
|
version = "0.8.3";
|
2017-05-31 21:23:21 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-20 10:57:52 +00:00
|
|
|
sha256 = "ef3d95419d53368f52fb7d4b883b8df0dfc2dd19a76243422d24981c3e5f27bd";
|
2017-05-31 21:23:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ hidapi pycrypto pillow protobuf future ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pure Pyhton Elliptic Curve Library";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/ubinity/ECPy;
|
2017-05-31 21:23:21 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|