Merge pull request #252958 from marsam/update-mona-sans
mona-sans: 1.0 -> 1.0.1
This commit is contained in:
commit
e0ed5e29ec
|
@ -3,24 +3,26 @@
|
|||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "mona-sans";
|
||||
version = "1.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v" + version;
|
||||
rev = "v${finalAttrs.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";
|
||||
homepage = "https://github.com/mona-sans";
|
||||
changelog = "https://github.com/github/mona-sans/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.ofl;
|
||||
longDescription = ''
|
||||
A strong and versatile typeface, designed together with Degarism and
|
||||
|
@ -36,4 +38,4 @@ stdenvNoCC.mkDerivation rec {
|
|||
maintainers = with lib.maintainers; [ drupol ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue