depot/third_party/nixpkgs/pkgs/development/python-modules/pyuca/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
646 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "pyuca";
version = "1.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "jtauber";
repo = "pyuca";
rev = "v${version}";
hash = "sha256-KIWk+/o1MX5J9cO7xITvjHrYg0NdgdTetOzfGVwAI/4=";
};
pythonImportsCheck = [ "pyuca" ];
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
description = "A Python implementation of the Unicode Collation Algorithm";
homepage = "https://github.com/jtauber/pyuca";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}