hyperglot: 0.7.3 -> 0.8.1 (#522418)
This commit is contained in:
@@ -1,23 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
nix-update-script,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
buildPythonApplication,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
click,
|
||||
fonttools,
|
||||
uharfbuzz,
|
||||
pyyaml,
|
||||
colorlog,
|
||||
packaging,
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "hyperglot";
|
||||
version = "0.7.3";
|
||||
version = "0.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Pd9Yxmv9a1T2xV03q2U1m1laHE3WifHwmnGBfTTCSxM=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rosettatype";
|
||||
repo = "hyperglot";
|
||||
tag = version;
|
||||
hash = "sha256-fiiDYggMBwd7nTHeQLWnSc3BNDyU+JUgAIk8pHLntUY=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
@@ -26,10 +30,12 @@ buildPythonApplication rec {
|
||||
uharfbuzz
|
||||
pyyaml
|
||||
colorlog
|
||||
packaging
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "hyperglot" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
@@ -38,7 +44,7 @@ buildPythonApplication rec {
|
||||
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;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ imatpot ];
|
||||
mainProgram = "hyperglot";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user