blob: da1a35456152ac8631fb0fa9a93e0c948afc6f04 (
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
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
marisa-trie,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "language-data";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "georgkrause";
repo = "language_data";
rev = "refs/tags/v${version}";
hash = "sha256-TVWyDEDI6NBioc8DqhXzpLS22EFKsZ/nan2vfgFsieQ=";
};
build-system = [ setuptools-scm ];
dependencies = [ marisa-trie ];
pythonImportsCheck = [ "language_data" ];
# No unittests
doCheck = false;
meta = with lib; {
description = "Supplement module for langcodes";
homepage = "https://github.com/georgkrause/language_data";
changelog = "https://github.com/georgkrause/language_data/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|