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