nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 31 lines 853 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "scientifica"; 5 version = "2.3"; 6 7 src = fetchurl { 8 url = "https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica.tar"; 9 hash = "sha256-8IV4aaDoRsbxddy4U90fEZ6henUhjmO38HNtWo4ein8="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/fonts/truetype 16 mkdir -p $out/share/fonts/misc 17 install ttf/*.ttf $out/share/fonts/truetype 18 install otb/*.otb $out/share/fonts/misc 19 install bdf/*.bdf $out/share/fonts/misc 20 21 runHook postInstall 22 ''; 23 24 meta = with lib; { 25 description = "Tall and condensed bitmap font for geeks"; 26 homepage = "https://github.com/NerdyPepper/scientifica"; 27 license = licenses.ofl; 28 platforms = platforms.all; 29 maintainers = with maintainers; [ fortuneteller2k ]; 30 }; 31}