2019-05-13 03:55:32 +02:00
|
|
|
{ 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";
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|