nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 703 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "siphashc"; 11 version = "2.7"; 12 pyproject = true; 13 build-system = [ setuptools ]; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-ppRNc3aM9So6g0LunBka2UBFWQAvck9E4Ot6sOC96jM="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "siphashc" ]; 23 24 meta = { 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 = lib.licenses.isc; 29 maintainers = with lib.maintainers; [ erictapen ]; 30 }; 31}