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

26 lines
662 B
Nix
Raw Normal View History

{ lib, 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";
2019-08-13 22:52:01 +01:00
in fetchzip {
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";
meta = with lib; {
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;
};
}