about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyuca/default.nix
blob: 94b29dc80f9b3adb975f6486aab6d3697a30f3d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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 ];
  };
}