blob: 1722f06a28cef4abd25e9d2df10d7af849fec4b2 (
plain)
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
41
42
43
44
45
|
{
lib,
nix-update-script,
fetchPypi,
buildPythonApplication,
setuptools,
click,
fonttools,
uharfbuzz,
pyyaml,
colorlog,
}:
buildPythonApplication rec {
pname = "hyperglot";
version = "0.7.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Pd9Yxmv9a1T2xV03q2U1m1laHE3WifHwmnGBfTTCSxM=";
};
dependencies = [
click
fonttools
uharfbuzz
pyyaml
colorlog
];
build-system = [ setuptools ];
pythonImportsCheck = [ "hyperglot" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Database and tools for detecting language support in fonts";
homepage = "https://hyperglot.rosettatype.com";
changelog = "https://github.com/rosettatype/hyperglot/blob/${version}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ imatpot ];
mainProgram = "hyperglot";
};
}
|