nixpkgs/pkgs/data/fonts/national-park/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
720 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2019-05-30 04:09:05 +01:00
stdenvNoCC.mkDerivation rec {
2019-05-30 04:09:05 +01:00
pname = "national-park-typeface";
version = "206464";
src = fetchzip {
url = "https://files.cargocollective.com/c${version}/NationalPark.zip";
stripRoot = false;
hash = "sha256-VUboZZVJfKupnoHXo3RxetEEYimrr1DxghVZaaWnnw4=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.otf -t $out/share/fonts/opentype/
runHook postInstall
'';
2019-05-30 04:09:05 +01:00
meta = with lib; {
description = ''Typeface designed to mimic the national park service
signs that are carved using a router bit'';
homepage = "https://nationalparktypeface.com/";
2019-05-30 04:09:05 +01:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
};
}