36 lines
618 B
Nix
36 lines
618 B
Nix
{
|
|
stdenvNoCC,
|
|
lib,
|
|
}:
|
|
|
|
stdenvNoCC.stdenv.mkDerivation (finalAttrs: {
|
|
pname = "monolisa";
|
|
version = "2.015";
|
|
|
|
src = ./.;
|
|
|
|
nativeBuildInputs = [
|
|
|
|
];
|
|
buildInputs = [
|
|
|
|
];
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/truetype/
|
|
if [ -d "$src/fonts" ]; then
|
|
cp -r $src/fonts/*.ttf $out/share/fonts/truetype
|
|
else
|
|
echo "No fonts found in $src/fonts"
|
|
exit 0
|
|
fi
|
|
'';
|
|
|
|
meta = {
|
|
description = "";
|
|
homepage = "https://www.monolisa.dev/";
|
|
platforms = platforms.all;
|
|
# license = lib.licenses.;
|
|
# maintainers = with lib.maintainers; [ ];
|
|
};
|
|
})
|