summary refs log tree commit diff
path: root/pkgs/data/fonts/montserrat/default.nix
blob: de8ea80b01754aa80702cd14ce69baaeae4b179d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Originally packaged for ArchLinux.
#
# https://aur.archlinux.org/packages/ttf-montserrat/

{ lib, fetchzip }:

let
  version = "1.0";
in fetchzip {
  name = "montserrat-${version}";

  url = "https://marvid.fr/~eeva/mirror/Montserrat.tar.gz";

  postFetch = ''
    tar -xzf $downloadedFile --strip-components=1
    mkdir -p $out/share/fonts/montserrat
    cp *.ttf $out/share/fonts/montserrat
  '';

  sha256 = "11sdgvhaqg59mq71aqwqp2mb428984hjxy7hd1vasia9kgk8259w";

  meta = with lib; {
    description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
    homepage    = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
    license     = licenses.ofl;
    platforms   = platforms.all;
    maintainers = with maintainers; [ scolobb ];
  };
}