diff options
author | linarcx <linarcx@gmail.com> | 2019-03-19 16:55:40 +0330 |
---|---|---|
committer | linarcx <linarcx@gmail.com> | 2019-03-19 16:55:40 +0330 |
commit | 5b98f0d289583e4c9a880e9d5382a5f63cfefbde (patch) | |
tree | f953cb4c200377e5b17dff0a0e6e78a104b09efb /pkgs/data/fonts/vazir-fonts | |
parent | 03050e9749e1548f1648aae5c062c954eaad546e (diff) | |
download | nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.tar nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.tar.gz nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.tar.bz2 nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.tar.lz nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.tar.xz nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.tar.zst nixpkgs-5b98f0d289583e4c9a880e9d5382a5f63cfefbde.zip |
vazir-fonts: init at 19.2.0
Diffstat (limited to 'pkgs/data/fonts/vazir-fonts')
-rwxr-xr-x | pkgs/data/fonts/vazir-fonts/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/vazir-fonts/default.nix b/pkgs/data/fonts/vazir-fonts/default.nix new file mode 100755 index 00000000000..408bd9a9264 --- /dev/null +++ b/pkgs/data/fonts/vazir-fonts/default.nix @@ -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 ]; + }; +} |