diff options
author | linarcx <linarcx@gmail.com> | 2019-03-28 21:29:46 +0430 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-03-29 23:46:20 +0100 |
commit | 6b1d7e93161fd3ab5cf1d867176570d78984c5f5 (patch) | |
tree | 0242273b6cbf758704f228a653d7ead70bb2ee87 /pkgs/data/fonts/gandom-fonts | |
parent | ef047e711cca9dd8ba5ea1c90c1ba3d307703814 (diff) |
gandom-fonts: init at v0.6
gandom-fonts: init at v0.6
Diffstat (limited to 'pkgs/data/fonts/gandom-fonts')
-rw-r--r-- | pkgs/data/fonts/gandom-fonts/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/data/fonts/gandom-fonts/default.nix b/pkgs/data/fonts/gandom-fonts/default.nix new file mode 100644 index 0000000000000..938ff272cbd91 --- /dev/null +++ b/pkgs/data/fonts/gandom-fonts/default.nix @@ -0,0 +1,26 @@ +{ 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 ]; + }; +} |