diff options
author | LinArcX <LinArcX@users.noreply.github.com> | 2019-03-31 22:03:16 +0430 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-03-31 13:33:16 -0400 |
commit | eaff32796be334993da012b98b39ea8a887bbeb5 (patch) | |
tree | 5b97ff3d1950113bb765cf621ad093f58b050eee /pkgs/data/fonts/sahel-fonts | |
parent | 1fcad304a0f36e68eae6e8f93f11051e8b1a9f62 (diff) |
sahel-fonts: init at v1.0.0-alpha22 (#58480)
Diffstat (limited to 'pkgs/data/fonts/sahel-fonts')
-rw-r--r-- | pkgs/data/fonts/sahel-fonts/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/data/fonts/sahel-fonts/default.nix b/pkgs/data/fonts/sahel-fonts/default.nix new file mode 100644 index 0000000000000..20545be3dcadb --- /dev/null +++ b/pkgs/data/fonts/sahel-fonts/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "sahel-fonts"; + version = "1.0.0-alpha22"; + + src = fetchFromGitHub { + owner = "rastikerdar"; + repo = "sahel-font"; + rev = "v${version}"; + sha256 = "1kx7byzb5zxspq0i4cvgf4q7sm6xnhdnfyw9zrb1wfmdv3jzaz7p"; + }; + + installPhase = '' + mkdir -p $out/share/fonts/sahel-fonts + cp -v $( find . -name '*.ttf') $out/share/fonts/sahel-fonts + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/rastikerdar/sahel-font; + description = "A Persian (farsi) Font - فونت (قلم) فارسی ساحل"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = [ maintainers.linarcx ]; + }; +} |