nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 795 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "overpass"; 5 version = "3.0.5"; 6 7 src = fetchzip { 8 url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip"; 9 hash = "sha256-8AWT0/DELfNWXtZOejC90DbUSOtyGt9tSkcSuO7HP2o="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 */*/*.otf -t $out/share/fonts/opentype 16 install -Dm644 */*/*.ttf -t $out/share/fonts/truetype 17 install -Dm644 *.md -t $out/share/doc/${pname}-${version} 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://overpassfont.org/"; 24 description = "Font heavily inspired by Highway Gothic"; 25 license = licenses.ofl; 26 platforms = platforms.all; 27 maintainers = [ maintainers.rycee ]; 28 }; 29}