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