Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 23 lines 555 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi 2, pycrypto, pillow, protobuf, future, ecpy 3}: 4 5buildPythonPackage rec { 6 pname = "ECPy"; 7 version = "0.8.3"; 8 9 disabled = !isPy3k; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "ef3d95419d53368f52fb7d4b883b8df0dfc2dd19a76243422d24981c3e5f27bd"; 14 }; 15 16 buildInputs = [ hidapi pycrypto pillow protobuf future ]; 17 18 meta = with stdenv.lib; { 19 description = "Pure Pyhton Elliptic Curve Library"; 20 homepage = https://github.com/ubinity/ECPy; 21 license = licenses.asl20; 22 }; 23}