Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 28 lines 740 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "sudo-font"; 5 version = "1.3"; 6 7 src = fetchzip { 8 url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip"; 9 hash = "sha256-PlsS+i/NcIMayDP6GVTDI+BLVgPSUdanlXQ8cCSXIzM="; 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 = [ ]; 26 platforms = platforms.all; 27 }; 28}