159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
31 lines
707 B
Nix
31 lines
707 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "siphashc";
|
|
version = "2.4.1";
|
|
pyproject = true;
|
|
build-system = [ setuptools ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ptNpy7VkUXHbjvdir6v+eYOmtQ/j8XPXq4lj7ceS/5s=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "siphashc" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python c-module for siphash";
|
|
homepage = "https://github.com/WeblateOrg/siphashc";
|
|
changelog = "https://github.com/WeblateOrg/siphashc/blob/${version}/CHANGES.rst";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ erictapen ];
|
|
};
|
|
}
|