2018-02-22 00:36:10 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi
|
2018-07-21 00:44:44 +00:00
|
|
|
, pycrypto, pillow, protobuf, future
|
2017-05-31 20:23:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ECPy";
|
2018-04-04 18:07:45 +00:00
|
|
|
version = "0.9.0";
|
2017-05-31 20:23:21 +00:00
|
|
|
|
2018-02-22 00:36:10 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2017-05-31 20:23:21 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 18:07:45 +00:00
|
|
|
sha256 = "ef41346ae24789699f3bc3ddefbfac03ad6b73b7d3d19b998ba9ce47b67c7277";
|
2017-05-31 20:23:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ hidapi pycrypto pillow protobuf future ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pure Pyhton Elliptic Curve Library";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/ubinity/ECPy;
|
2017-05-31 20:23:21 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|