Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 22 lines 522 B view raw
1{ lib, fetchPypi, buildPythonPackage, isPy3k, future }: 2 3buildPythonPackage rec { 4 pname = "ECPy"; 5 version = "0.10.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "8889122d3a8bc1a08b4bda42c073dd22305d770b7876356de806ff91748983bd"; 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}