at master 841 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7 versioneer, 8}: 9 10buildPythonPackage rec { 11 pname = "ed25519"; 12 version = "1.5"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "warner"; 19 repo = "python-ed25519"; 20 tag = version; 21 hash = "sha256-AwnhB5UGycQliNndbqd0JlI4vKSehCSy0qHv2EiB+jA="; 22 }; 23 24 postPatch = '' 25 rm versioneer.py 26 ''; 27 28 build-system = [ 29 setuptools 30 versioneer 31 ]; 32 33 pythonImportsCheck = [ "ed25519" ]; 34 35 meta = with lib; { 36 description = "Ed25519 public-key signatures"; 37 mainProgram = "edsig"; 38 homepage = "https://github.com/warner/python-ed25519"; 39 changelog = "https://github.com/warner/python-ed25519/blob/${version}/NEWS"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ np ]; 42 }; 43}