about summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-05-29 22:09:05 -0500
committerWill Dietz <w@wdtz.org>2019-05-29 23:32:07 -0500
commita538159fbf971ee862aec13825ecb7d9e5173cf8 (patch)
tree99f0fb5f6d3a6e68db269622e36eae8ea8f61e53 /pkgs/data
parentd07364d651cd6b9308ed13eff2dfd47c64fc6bff (diff)
downloadnixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.tar
nixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.tar.gz
nixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.tar.bz2
nixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.tar.lz
nixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.tar.xz
nixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.tar.zst
nixlib-a538159fbf971ee862aec13825ecb7d9e5173cf8.zip
national-park-typeface: init at 206464
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/national-park/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/data/fonts/national-park/default.nix b/pkgs/data/fonts/national-park/default.nix
new file mode 100644
index 000000000000..bc8fc8041a81
--- /dev/null
+++ b/pkgs/data/fonts/national-park/default.nix
@@ -0,0 +1,24 @@
+{ 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 ];
+  };
+}