samim-fonts: init at 3.1.0 (#58383)

This commit is contained in:
LinArcX 2019-03-31 22:33:48 +04:30 committed by Dmitry Kalinkin
parent c29f267d92
commit 9396b273cc
2 changed files with 28 additions and 0 deletions

View file

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

View file

@ -5434,6 +5434,8 @@ in
salut_a_toi = callPackage ../applications/networking/instant-messengers/salut-a-toi {};
samim-fonts = callPackage ../data/fonts/samim-fonts {};
saml2aws = callPackage ../tools/security/saml2aws {};
samplicator = callPackage ../tools/networking/samplicator { };