2016-02-28 01:22:50 +03:00
|
|
|
# Originally packaged for ArchLinux.
|
|
|
|
#
|
|
|
|
# https://aur.archlinux.org/packages/ttf-montserrat/
|
|
|
|
|
2019-05-13 04:55:32 +03:00
|
|
|
{ lib, fetchzip }:
|
2016-02-28 01:22:50 +03:00
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
let
|
2016-02-28 01:22:50 +03:00
|
|
|
version = "1.0";
|
2017-08-10 22:43:49 +03:00
|
|
|
in fetchzip {
|
|
|
|
name = "montserrat-${version}";
|
2016-02-28 01:22:50 +03:00
|
|
|
|
2019-04-22 11:14:28 +03:00
|
|
|
url = "https://marvid.fr/~eeva/mirror/Montserrat.tar.gz";
|
2016-02-28 01:22:50 +03:00
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
postFetch = ''
|
|
|
|
tar -xzf $downloadedFile --strip-components=1
|
2016-02-28 01:22:50 +03:00
|
|
|
mkdir -p $out/share/fonts/montserrat
|
|
|
|
cp *.ttf $out/share/fonts/montserrat
|
|
|
|
'';
|
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
sha256 = "11sdgvhaqg59mq71aqwqp2mb428984hjxy7hd1vasia9kgk8259w";
|
|
|
|
|
2019-05-13 04:55:32 +03:00
|
|
|
meta = with lib; {
|
2016-02-28 01:22:50 +03:00
|
|
|
description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
|
2019-04-22 11:14:28 +03:00
|
|
|
homepage = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
|
2016-02-28 01:22:50 +03:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ scolobb ];
|
|
|
|
};
|
|
|
|
}
|