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