3
0
Fork 0
forked from mirrors/nixpkgs

vazir-fonts: init at 19.2.0

This commit is contained in:
linarcx 2019-03-19 16:55:40 +03:30
parent 03050e9749
commit 5b98f0d289
2 changed files with 29 additions and 0 deletions

View file

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

View file

@ -23055,6 +23055,8 @@ in
vaultenv = haskellPackages.vaultenv;
vazir-fonts = callPackage ../data/fonts/vazir-fonts { };
vbam = callPackage ../misc/emulators/vbam {
ffmpeg = ffmpeg_2;
};