at master 864 B view raw
1{ 2 lib, 3 bitlist, 4 buildPythonPackage, 5 fe25519, 6 fetchPypi, 7 fountains, 8 parts, 9 pytest-cov-stub, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "ge25519"; 17 version = "2.0.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-eqduw1nMHMiMIvhzXA1Zg2foqQscQwFLhgm9aJYvmuo="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 fe25519 31 parts 32 bitlist 33 fountains 34 ]; 35 36 nativeCheckInputs = [ 37 pytest-cov-stub 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ "ge25519" ]; 42 43 meta = with lib; { 44 description = "Python implementation of Ed25519 group elements and operations"; 45 homepage = "https://github.com/nthparty/ge25519"; 46 license = with licenses; [ mit ]; 47 maintainers = with maintainers; [ fab ]; 48 }; 49}