montserrat: 1.0 -> 7.210
This commit is contained in:
parent
ba1643d29d
commit
0e931bc5e7
@ -1,29 +1,28 @@
|
|||||||
# Originally packaged for ArchLinux.
|
{ lib, fetchFromGitHub }:
|
||||||
#
|
|
||||||
# https://aur.archlinux.org/packages/ttf-montserrat/
|
|
||||||
|
|
||||||
{ lib, fetchzip }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.0";
|
pname = "montserrat";
|
||||||
in fetchzip {
|
version = "7.210";
|
||||||
name = "montserrat-${version}";
|
in fetchFromGitHub {
|
||||||
|
name = "${pname}-${version}";
|
||||||
url = "https://marvid.fr/~eeva/mirror/Montserrat.tar.gz";
|
owner = "JulietaUla";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-C6T0Iz1rFC+EsKFJRil2jGTMQ4X7wR80E3eORL5qi0U=";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
tar -xzf $downloadedFile --strip-components=1
|
tar xf $downloadedFile --strip 1
|
||||||
mkdir -p $out/share/fonts/montserrat
|
install -Dm 444 fonts/otf/*.otf -t $out/share/fonts/otf
|
||||||
cp *.ttf $out/share/fonts/montserrat
|
install -Dm 444 fonts/ttf/*.ttf -t $out/share/fonts/ttf
|
||||||
|
install -Dm 444 fonts/webfonts/*.woff -t $out/share/fonts/woff
|
||||||
|
install -Dm 444 fonts/webfonts/*.woff2 -t $out/share/fonts/woff2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "11sdgvhaqg59mq71aqwqp2mb428984hjxy7hd1vasia9kgk8259w";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
|
description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
|
||||||
homepage = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
|
homepage = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ scolobb ];
|
maintainers = with maintainers; [ scolobb jk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user