depot/third_party/nixpkgs/pkgs/development/python-modules/siphashc/default.nix

32 lines
707 B
Nix
Raw Normal View History

{
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 ];
};
}