nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 767 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "sudo-font"; 5 version = "0.69"; 6 7 src = fetchzip { 8 url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip"; 9 hash = "sha256-GXlQh9JRAzbwWKTJw/y003ywjaWtiQayHxiWPTPvIO0="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 *.ttf -t $out/share/fonts/truetype/ 16 17 runHook postInstall 18 ''; 19 20 meta = with lib; { 21 description = "Font for programmers and command line users"; 22 homepage = "https://www.kutilek.de/sudo-font/"; 23 changelog = "https://github.com/jenskutilek/sudo-font/raw/v${version}/sudo/FONTLOG.txt"; 24 license = licenses.ofl; 25 maintainers = with maintainers; [ dtzWill ]; 26 platforms = platforms.all; 27 }; 28}