nixpkgs/pkgs/development/python-modules/ecpy/default.nix

23 lines
556 B
Nix
Raw Normal View History

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";
homepage = https://github.com/ubinity/ECPy;
2017-05-31 21:23:21 +01:00
license = licenses.asl20;
};
}