lol

hanken-grotesk: init at 0-unstable-2024-01-30

Co-authored-by: emaryn <197520219+emaryn@users.noreply.github.com>

bricked a6290d3e 2fef5d6b

+36
+36
pkgs/by-name/ha/hanken-grotesk/package.nix
··· 1 + { 2 + lib, 3 + stdenvNoCC, 4 + fetchFromGitHub, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation { 8 + pname = "hanken-grotesk"; 9 + version = "0-unstable-2024-01-30"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "marcologous"; 13 + repo = "hanken-grotesk"; 14 + rev = "1ab416e82130b2d3ddb7710abf7ceabf07156a13"; 15 + hash = "sha256-CgxqC+4QrjdsB7VdAMneP8ND9AsWPVI8d8UOn4kytxs="; 16 + }; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir --parents $out/share/fonts 22 + cp --recursive fonts/ttf $out/share/fonts/truetype 23 + cp --recursive fonts/variable $out/share/fonts/variable 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + meta = { 29 + description = "Hanken Grotesk typeface"; 30 + longDescription = "Hanken Grotesk is a sans serif typeface inspired by the classic grotesques."; 31 + homepage = "https://github.com/marcologous/hanken-grotesk"; 32 + license = lib.licenses.ofl; 33 + platforms = lib.platforms.all; 34 + maintainers = with lib.maintainers; [ bricked ]; 35 + }; 36 + }