1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/python-modules/ecpy/default.nix
Robert Schütz 9b37f0a06d pythonPackages.ecpy: disable for python 2
setup.py specifies
    python_requires='>=3'
2018-02-22 01:51:53 +01:00

24 lines
555 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi
, pycrypto, pillow, protobuf, future, ecpy
}:
buildPythonPackage rec {
pname = "ECPy";
version = "0.8.3";
disabled = !isPy3k;
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;
};
}