about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyuca/default.nix
blob: e4a7a2a0b5f1445599555aed4d59d0542f9cf533 (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
{
  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 = "Python implementation of the Unicode Collation Algorithm";
    homepage = "https://github.com/jtauber/pyuca";
    license = licenses.mit;
    maintainers = with maintainers; [ hexa ];
  };
}