1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, unittestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "pyuca";
9 version = "1.2";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "jtauber";
14 repo = "pyuca";
15 rev = "v${version}";
16 hash = "sha256-KIWk+/o1MX5J9cO7xITvjHrYg0NdgdTetOzfGVwAI/4=";
17 };
18
19 pythonImportsCheck = [
20 "pyuca"
21 ];
22
23 nativeCheckInputs = [
24 unittestCheckHook
25 ];
26
27 meta = with lib; {
28 description = "A Python implementation of the Unicode Collation Algorithm";
29 homepage = "https://github.com/jtauber/pyuca";
30 license = licenses.mit;
31 maintainers = with maintainers; [ hexa ];
32 };
33}