nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 762 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "oldsindhi"; 5 version = "1.0"; 6 7 src = fetchurl { 8 url = "https://github.com/MihailJP/${pname}/releases/download/v${version}/OldSindhi-${version}.tar.xz"; 9 hash = "sha256-jOcl+mo6CJ9Lnn3nAUiXXHCJssovVgLoPrbGxj4uzQs="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -m444 -Dt $out/share/fonts/truetype *.ttf 16 install -m444 -Dt $out/share/doc/${pname}-${version} README *.txt 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://github.com/MihailJP/oldsindhi"; 23 description = "Free Sindhi Khudabadi font"; 24 maintainers = with maintainers; [ mathnerd314 ]; 25 license = with licenses; [ mit ofl ]; 26 platforms = platforms.all; 27 }; 28}