marathi-cursive: init at 1.2
This commit is contained in:
parent
dcd2c88847
commit
f15c5a66e7
30
pkgs/data/fonts/marathi-cursive/default.nix
Normal file
30
pkgs/data/fonts/marathi-cursive/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, p7zip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "marathi-cursive-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/MihailJP/MarathiCursive/releases/download/${version}/MarathiCursive-${version}.7z";
|
||||
sha256 = "0zhqkkfkz5mhfz8xv305s16h80p9v1iva829fznxd2c44ngyplmc";
|
||||
};
|
||||
|
||||
buildInputs = [ p7zip ];
|
||||
|
||||
unpackCmd = "7z x $curSrc";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/marathi-cursive
|
||||
cp -v *.otf *.ttf $out/share/fonts/marathi-cursive
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v README *.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/MihailJP/marathi-cursive;
|
||||
description = "Modi script font with Graphite and OpenType support";
|
||||
maintainers = with maintainers; [ mathnerd314 ];
|
||||
license = licenses.mit; # It's the M+ license, M+ is MIT(-ish)
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -10583,6 +10583,8 @@ let
|
||||
# lohit-fonts.kashmiri lohit-fonts.konkani lohit-fonts.maithili lohit-fonts.sindhi
|
||||
lohit-fonts = recurseIntoAttrs ( callPackages ../data/fonts/lohit-fonts { } );
|
||||
|
||||
marathi-cursive = callPackage ../data/fonts/marathi-cursive { };
|
||||
|
||||
manpages = callPackage ../data/documentation/man-pages { };
|
||||
|
||||
meslo-lg = callPackage ../data/fonts/meslo-lg {};
|
||||
|
Loading…
Reference in New Issue
Block a user