at master 594 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pdm-backend, 6}: 7 8buildPythonPackage rec { 9 pname = "slh-dsa"; 10 version = "0.1.3"; 11 pyproject = true; 12 13 src = fetchPypi { 14 pname = "slh_dsa"; 15 inherit version; 16 hash = "sha256-0OtjlI/w3F0OWu+fsQI9M3lIQY0Nx48YbvoGcQ0AJ1Y="; 17 }; 18 19 build-system = [ pdm-backend ]; 20 21 pythonImportsCheck = [ "slhdsa" ]; 22 23 meta = with lib; { 24 description = "Pure Python implementation of the SLH-DSA algorithm"; 25 homepage = "https://github.com/colinxu2020/slhdsa"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ prusnak ]; 28 }; 29}