depot/third_party/nixpkgs/pkgs/development/python-modules/siphashc/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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