Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 545 B view raw
1{ lib, fetchPypi, buildPythonPackage, isPy3k, future }: 2 3buildPythonPackage rec { 4 pname = "ECPy"; 5 version = "1.2.3"; 6 disabled = !isPy3k; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "6dd09f8cda5a1d673228ff9ef41aea8f036ee5ef3183198de83c14957d68c3e0"; 11 }; 12 13 propagatedBuildInputs = lib.optional (!isPy3k) future; 14 15 # No tests implemented 16 doCheck = false; 17 18 meta = with lib; { 19 description = "Pure Pyhton Elliptic Curve Library"; 20 homepage = "https://github.com/ubinity/ECPy"; 21 license = licenses.asl20; 22 }; 23}