shabnam-fonts: init at v4.0.0 (#58446)

This commit is contained in:
LinArcX 2019-04-08 17:49:41 +04:30 committed by Dmitry Kalinkin
parent d190794b4a
commit 185187f993
2 changed files with 28 additions and 0 deletions

View File

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

View File

@ -5517,6 +5517,8 @@ in
shadowsocks-libev = callPackage ../tools/networking/shadowsocks-libev { }; shadowsocks-libev = callPackage ../tools/networking/shadowsocks-libev { };
shabnam-fonts = callPackage ../data/fonts/shabnam-fonts { };
shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust { shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };