nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 736 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "open-fonts"; 5 version = "0.7.0"; 6 7 src = fetchurl { 8 url = "https://github.com/kiwi0fruit/open-fonts/releases/download/${version}/open-fonts.tar.xz"; 9 hash = "sha256-NJKbdrvgZz9G7mjAJYzN7rU/fo2xRFZA2BbQ+A56iPw="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/fonts/truetype 16 install *.ttf $out/share/fonts/truetype 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 description = "A collection of beautiful free and open source fonts"; 23 homepage = "https://github.com/kiwi0fruit/open-fonts"; 24 license = licenses.mit; 25 platforms = platforms.all; 26 maintainers = with maintainers; [ fortuneteller2k ]; 27 }; 28}