nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 911 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation { 4 pname = "crimson-pro"; 5 version = "unstable-2022-08-30"; 6 7 outputs = [ "out" "woff2" ]; 8 9 src = fetchFromGitHub { 10 owner = "Fonthausen"; 11 repo = "CrimsonPro"; 12 rev = "24e8f7bf59ec45d77c67879ad80d97e5f94c787b"; 13 hash = "sha256-3zFB1AMcC7eNEVA2Mx1OE8rLN9zPzexZ3FtER9wH5ss="; 14 }; 15 16 installPhase = '' 17 runHook preInstall 18 19 install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf 20 install -m444 -Dt $out/share/fonts/opentype fonts/otf/*.otf 21 install -m444 -Dt $woff2/share/fonts/woff2 fonts/webfonts/*.woff2 22 23 runHook postInstall 24 ''; 25 26 meta = with lib; { 27 homepage = "https://github.com/Fonthausen/CrimsonPro"; 28 description = "A professionally produced redesign of Crimson by Jacques Le Bailly"; 29 license = licenses.ofl; 30 platforms = platforms.all; 31 maintainers = with maintainers; [ ncfavier ]; 32 }; 33}