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
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "mona-sans";
|
pname = "mona-sans";
|
||||||
version = "1.0";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v" + version;
|
rev = "v${finalAttrs.version}";
|
||||||
owner = "github";
|
owner = "github";
|
||||||
repo = pname;
|
repo = "mona-sans";
|
||||||
sha256 = "iJhbSGNByOvtJd9hEh0g7Ht6eoAJ18jco0oHGqjOiLQ=";
|
sha256 = "sha256-XvqLFzlgIqx9aZH2SEAtwMiuWgUiDi/gHGSpfreUHuk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
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 = {
|
meta = {
|
||||||
description = "A variable font from GitHub";
|
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;
|
license = lib.licenses.ofl;
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
A strong and versatile typeface, designed together with Degarism and
|
A strong and versatile typeface, designed together with Degarism and
|
||||||
|
@ -36,4 +38,4 @@ stdenvNoCC.mkDerivation rec {
|
||||||
maintainers = with lib.maintainers; [ drupol ];
|
maintainers = with lib.maintainers; [ drupol ];
|
||||||
platforms = lib.platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue