Mario Rodas 2023-09-02 04:20:00 +00:00
parent 8bb32a398c
commit 6702a59130

View file

@ -5,22 +5,24 @@
stdenvNoCC.mkDerivation rec {
pname = "mona-sans";
version = "1.0";
version = "1.0.1";
src = fetchFromGitHub {
rev = "v" + version;
rev = "v${version}";
owner = "github";
repo = pname;
sha256 = "iJhbSGNByOvtJd9hEh0g7Ht6eoAJ18jco0oHGqjOiLQ=";
repo = "mona-sans";
sha256 = "sha256-XvqLFzlgIqx9aZH2SEAtwMiuWgUiDi/gHGSpfreUHuk=";
};
installPhase = ''
install -m644 --target $out/share/fonts/truetype/mona-sans -D $src/dist/*.ttf
install -D -m444 -t $out/share/fonts/opentype fonts/otf/*.otf
install -D -m444 -t $out/share/fonts/truetype fonts/ttf/*.ttf fonts/variable/*.ttf
'';
meta = {
description = "A variable font from GitHub";
homepage = "https://github.com/github/mona-sans";
changelog = "https://github.com/github/mona-sans/releases/tag/v${version}";
license = lib.licenses.ofl;
longDescription = ''
A strong and versatile typeface, designed together with Degarism and