2017-05-31 21:23:21 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
|
|
|
, pycrypto, pillow, protobuf, future, ecpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "ECPy";
|
2017-11-24 19:36:20 +00:00
|
|
|
version = "0.8.2";
|
2017-05-31 21:23:21 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-24 19:36:20 +00:00
|
|
|
sha256 = "0509a90714448ef47ef727cb7aee3415995c883c945e972521b5838fa4c50e24";
|
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;
|
|
|
|
};
|
|
|
|
}
|