nixpkgs-suyu/pkgs/data/fonts/norwester/default.nix

26 lines
660 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2016-06-30 09:44:22 +02:00
2017-08-10 21:43:49 +02:00
let
2016-06-30 09:44:22 +02:00
version = "1.2";
2017-08-10 21:43:49 +02:00
pname = "norwester";
2019-08-13 23:52:01 +02:00
in fetchzip {
2016-06-30 09:44:22 +02:00
name = "${pname}-${version}";
2017-08-10 21:43:49 +02:00
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
2016-06-30 09:44:22 +02:00
2017-08-10 21:43:49 +02:00
postFetch = ''
2016-06-30 09:44:22 +02:00
mkdir -p $out/share/fonts/opentype
2017-08-10 21:43:49 +02:00
unzip -D -j $downloadedFile ${pname}-v${version}/${pname}.otf -d $out/share/fonts/opentype/
2016-06-30 09:44:22 +02:00
'';
2017-08-10 21:43:49 +02:00
sha256 = "1npsaiiz9g5z6315lnmynwcnrfl37fyxc7w1mhkw1xbzcnv74z4r";
meta = with lib; {
homepage = http://jamiewilson.io/norwester;
2016-06-30 09:44:22 +02:00
description = "A condensed geometric sans serif by Jamie Wilson";
maintainers = with maintainers; [ leenaars ];
license = licenses.ofl;
platforms = platforms.all;
};
}