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