nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 847 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "marathi-cursive"; 5 version = "2.1"; 6 7 src = fetchurl { 8 url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz"; 9 hash = "sha256-C/z8ALV9bht0SaYqACO5ulSVCk1d6wBwvpVC4ZLgtek="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.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/MarathiCursive"; 23 description = "Modi script font with Graphite and OpenType support"; 24 maintainers = with maintainers; [ mathnerd314 ]; 25 license = licenses.mit; # It's the M+ license, M+ is MIT(-ish) 26 platforms = platforms.all; 27 }; 28}