summary refs log tree commit diff
path: root/pkgs/data/fonts/norwester/default.nix
blob: 0de5aa8fdf3e5c8141da3536187d38169bf814cd (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
{ lib, fetchzip }:

let
  version = "1.2";
  pname = "norwester";
in fetchzip rec {
  name = "${pname}-${version}";

  url = "http://jamiewilson.io/norwester/assets/norwester.zip";

  postFetch = ''
    mkdir -p $out/share/fonts/opentype
    unzip -D -j $downloadedFile ${pname}-v${version}/${pname}.otf -d $out/share/fonts/opentype/
  '';

  sha256 = "1npsaiiz9g5z6315lnmynwcnrfl37fyxc7w1mhkw1xbzcnv74z4r";

  meta = with lib; {
    homepage = http://jamiewilson.io/norwester;
    description = "A condensed geometric sans serif by Jamie Wilson";
    maintainers = with maintainers; [ leenaars ];
    license = licenses.ofl;
    platforms = platforms.all;
  };
}