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

24 lines
677 B
Nix

{ lib, fetchzip }:
let
pname = "national-park-typeface";
version = "206464";
in fetchzip {
name = "${pname}-${version}";
url = "https://files.cargocollective.com/c${version}/NationalPark.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile National\*.otf -d $out/share/fonts/opentype/
'';
sha256 = "044gh4xcasp8i9ny6z4nmns1am2pk5krc4ann2afq35v9bnl2q5d";
meta = with lib; {
description = ''Typeface designed to mimic the national park service
signs that are carved using a router bit'';
homepage = "https://nationalparktypeface.com/";
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
};
}