at master 705 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "siphashc"; 11 version = "2.5"; 12 pyproject = true; 13 build-system = [ setuptools ]; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-o7zGnOM96+C0I98iSYzua2MB8TP1okdw/m9O9I2DK00="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "siphashc" ]; 23 24 meta = with lib; { 25 description = "Python c-module for siphash"; 26 homepage = "https://github.com/WeblateOrg/siphashc"; 27 changelog = "https://github.com/WeblateOrg/siphashc/blob/${version}/CHANGES.rst"; 28 license = licenses.isc; 29 maintainers = with maintainers; [ erictapen ]; 30 }; 31}