mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
32 lines
705 B
Nix
32 lines
705 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "siphashc";
|
|
version = "2.5";
|
|
pyproject = true;
|
|
build-system = [ setuptools ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-o7zGnOM96+C0I98iSYzua2MB8TP1okdw/m9O9I2DK00=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|