marelle: init at 1.004

This commit is contained in:
Guilhem Saurel
2026-05-23 18:51:03 +02:00
parent 2e8d305e6e
commit 26faa80acc

View File

@@ -0,0 +1,44 @@
{
lib,
stdenvNoCC,
fetchFromGitLab,
installFonts,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "marelle";
version = "1.004";
outputs = [
"out"
"webfont"
];
src = fetchFromGitLab {
domain = "forge.apps.education.fr";
owner = "marelle";
repo = "marelle.forge.apps.education.fr";
tag = "v${finalAttrs.version}";
hash = "sha256-BNUNHQ7Vjh34CPMd+YG2aVc1ttg65LUKH0ToJ1VAw2U=";
};
# public/fonts/ duplicates fonts/webfonts/
postPatch = ''
rm -rf public/fonts
'';
nativeBuildInputs = [
installFonts
];
strictDeps = true;
__structuredAttrs = true;
meta = {
description = "Cursive font for teaching handwritting in primary school";
homepage = "https://marelle.forge.apps.education.fr";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ nim65s ];
platforms = lib.platforms.all;
};
})