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