about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/national-park/default.nix
blob: 4970e0d5920fa5b0de3023270094a40b1789c565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenvNoCC, fetchzip }:

stdenvNoCC.mkDerivation rec {
  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
  '';

  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 ];
  };
}