1

Derivation/MonoLisa: Add MonoLisa font derivation

This commit is contained in:
2025-07-06 03:06:16 +02:00
parent 3eae2f9b01
commit 270b62c65c
4 changed files with 28 additions and 0 deletions

View File

@ -4,4 +4,6 @@
...
}: {
# Obsolete derivations are kept in "1_deprecated" for reference.
monolisa = pkgs.callPackage ./monolisa {};
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,26 @@
{
lib,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "monolisa";
version = "1.0";
src = ./.;
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
mv MonoLisa-italic.ttf $out/share/fonts/truetype/
mv MonoLisa-normal.ttf $out/share/fonts/truetype/
runHook postInstall
'';
meta = with lib; {
description = "Programming Font with Ligatures and Cursives";
homepage = "https://www.monolisa.dev/";
license = licenses.mit;
};
}