gandom-fonts: init at v0.6

gandom-fonts: init at v0.6
This commit is contained in:
linarcx
2019-03-29 23:46:20 +01:00
committed by Vincent Laporte
parent ef047e711c
commit 6b1d7e9316
2 changed files with 30 additions and 2 deletions
+26
View File
@@ -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 ];
};
}