mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
f5ce8f86df
This reverts commitfc23242220
, reversing changes made to754816b84b
. We don't have many binaries yet. Comment on the original merge commit.
23 lines
556 B
Nix
23 lines
556 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
|
, pycrypto, pillow, protobuf, future, ecpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "ECPy";
|
|
version = "0.8.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ef3d95419d53368f52fb7d4b883b8df0dfc2dd19a76243422d24981c3e5f27bd";
|
|
};
|
|
|
|
buildInputs = [ hidapi pycrypto pillow protobuf future ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Pure Pyhton Elliptic Curve Library";
|
|
homepage = https://github.com/ubinity/ECPy;
|
|
license = licenses.asl20;
|
|
};
|
|
}
|