python3Packages.weblate-fonts: init at 2026.1

This commit is contained in:
Gaetan Lepage
2026-03-08 18:04:57 +00:00
parent 671d93e263
commit d2ed0d3745
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
uv-build,
}:
buildPythonPackage (finalAttrs: {
pname = "weblate-fonts";
version = "2026.1";
pyproject = true;
src = fetchFromGitHub {
owner = "WeblateOrg";
repo = "fonts";
tag = finalAttrs.version;
hash = "sha256-JFnLi7ezme3yNo8e0Xjmvf/ejSaeTzzaJD5CMK4I9QM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail \
"uv_build>=0.9.15,<0.10.0" \
"uv_build"
'';
build-system = [
uv-build
];
pythonImportsCheck = [ "weblate_fonts" ];
meta = {
description = "Weblate fonts collection";
homepage = "https://github.com/WeblateOrg/fonts";
changelog = "https://github.com/WeblateOrg/fonts/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [
cc0
ofl
];
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -20877,6 +20877,8 @@ self: super: with self; {
webio-api = callPackage ../development/python-modules/webio-api { };
weblate-fonts = callPackage ../development/python-modules/weblate-fonts { };
weblate-language-data = callPackage ../development/python-modules/weblate-language-data { };
weblate-schemas = callPackage ../development/python-modules/weblate-schemas { };