diff options
author | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-10-18 13:06:04 -0600 |
---|---|---|
committer | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-10-18 18:45:20 -0600 |
commit | f15c5a66e70c2823ff2038da397b83818d27f7c4 (patch) | |
tree | 8ca9dc99a57af8bdf3d9b142188a1aca73142e10 | |
parent | dcd2c88847cc5e9d136a47452f79a5a3d0ebf4e5 (diff) | |
download | nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.tar nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.tar.gz nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.tar.bz2 nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.tar.lz nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.tar.xz nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.tar.zst nixpkgs-f15c5a66e70c2823ff2038da397b83818d27f7c4.zip |
marathi-cursive: init at 1.2
-rw-r--r-- | pkgs/data/fonts/marathi-cursive/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/data/fonts/marathi-cursive/default.nix b/pkgs/data/fonts/marathi-cursive/default.nix new file mode 100644 index 00000000000..e3f47cb8b0d --- /dev/null +++ b/pkgs/data/fonts/marathi-cursive/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e66ae9e59b0..8af7fdd5a20 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {}; |