3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/gandom-fonts/default.nix
linarcx 6b1d7e9316 gandom-fonts: init at v0.6
gandom-fonts: init at v0.6
2019-03-29 23:46:20 +01:00

27 lines
696 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "gandom-fonts";
version = "0.6";
src = fetchFromGitHub {
owner = "rastikerdar";
repo = "gandom-font";
rev = "v${version}";
sha256 = "1pdbqhvcsz6aq3qgarhfd05ip0wmh7bxqkmxrwa0kgxsly6zxz9x";
};
installPhase = ''
mkdir -p $out/share/fonts/gandom-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/gandom-fonts
'';
meta = with stdenv.lib; {
homepage = https://github.com/rastikerdar/gandom-font;
description = "A Persian (Farsi) Font - فونت (قلم) فارسی گندم";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.linarcx ];
};
}