Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 817 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "marathi-cursive"; 9 version = "2.1"; 10 11 src = fetchurl { 12 url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz"; 13 hash = "sha256-C/z8ALV9bht0SaYqACO5ulSVCk1d6wBwvpVC4ZLgtek="; 14 }; 15 16 installPhase = '' 17 runHook preInstall 18 19 install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf 20 install -m444 -Dt $out/share/doc/${pname}-${version} README *.txt 21 22 runHook postInstall 23 ''; 24 25 meta = with lib; { 26 homepage = "https://github.com/MihailJP/MarathiCursive"; 27 description = "Modi script font with Graphite and OpenType support"; 28 maintainers = with maintainers; [ mathnerd314 ]; 29 license = licenses.mplus; 30 platforms = platforms.all; 31 }; 32}