mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-08 14:23:40 +00:00
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
nix-update-script,
|
|
fetchFromGitHub,
|
|
buildPythonApplication,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
click,
|
|
fonttools,
|
|
uharfbuzz,
|
|
pyyaml,
|
|
colorlog,
|
|
packaging,
|
|
}:
|
|
buildPythonApplication rec {
|
|
pname = "hyperglot";
|
|
version = "0.8.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rosettatype";
|
|
repo = "hyperglot";
|
|
tag = version;
|
|
hash = "sha256-fiiDYggMBwd7nTHeQLWnSc3BNDyU+JUgAIk8pHLntUY=";
|
|
};
|
|
|
|
dependencies = [
|
|
click
|
|
fonttools
|
|
uharfbuzz
|
|
pyyaml
|
|
colorlog
|
|
packaging
|
|
];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
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.asl20;
|
|
maintainers = with lib.maintainers; [ imatpot ];
|
|
mainProgram = "hyperglot";
|
|
};
|
|
}
|