Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 stdenvNoCC, 5}: 6 7stdenvNoCC.mkDerivation { 8 pname = "chunk"; 9 version = "2021-03-03"; 10 11 src = fetchFromGitHub { 12 owner = "theleagueof"; 13 repo = "chunk"; 14 rev = "12a243f3fb7c7a68844901023f7d95d6eaf14104"; 15 hash = "sha256-NMkRvrUgy9yzOT3a1rN6Ch/p8Cr902CwL4G0w7jVm1E="; 16 }; 17 18 installPhase = '' 19 runHook preInstall 20 21 install -D -m444 -t $out/share/fonts/truetype $src/*.ttf 22 install -D -m444 -t $out/share/fonts/opentype $src/*.otf 23 24 runHook postInstall 25 ''; 26 27 meta = { 28 description = "Ultra-bold, ultra-awesome slab serif typeface"; 29 longDescription = '' 30 Chunk is an ultra-bold slab serif typeface that is reminiscent of old 31 American Western woodcuts, broadsides, and newspaper headlines. Used 32 mainly for display, the fat block lettering is unreserved yet refined for 33 contemporary use. 34 35 In 2014, a new textured style was created by Tyler Finck called Chunk 36 Five Print. It contains the same glyphs as the original. 37 ''; 38 homepage = "https://www.theleagueofmoveabletype.com/chunk"; 39 license = lib.licenses.ofl; 40 maintainers = with lib.maintainers; [ minijackson ]; 41 }; 42}