depot/third_party/nixpkgs/pkgs/data/fonts/norwester/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
662 B
Nix

{ lib, fetchzip }:
let
version = "1.2";
pname = "norwester";
in fetchzip {
name = "${pname}-${version}";
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
postFetch = ''
mkdir -p $out/share/fonts/opentype
unzip -D -j $downloadedFile ${pname}-v${version}/${pname}.otf -d $out/share/fonts/opentype/
'';
sha256 = "1npsaiiz9g5z6315lnmynwcnrfl37fyxc7w1mhkw1xbzcnv74z4r";
meta = with lib; {
homepage = "http://jamiewilson.io/norwester";
description = "A condensed geometric sans serif by Jamie Wilson";
maintainers = with maintainers; [ leenaars ];
license = licenses.ofl;
platforms = platforms.all;
};
}