forked from mirrors/nixpkgs
shabnam-fonts: init at v4.0.0 (#58446)
This commit is contained in:
parent
d190794b4a
commit
185187f993
26
pkgs/data/fonts/shabnam-fonts/default.nix
Normal file
26
pkgs/data/fonts/shabnam-fonts/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -5517,6 +5517,8 @@ in
|
|||
|
||||
shadowsocks-libev = callPackage ../tools/networking/shadowsocks-libev { };
|
||||
|
||||
shabnam-fonts = callPackage ../data/fonts/shabnam-fonts { };
|
||||
|
||||
shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue