3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/samim-fonts/default.nix

27 lines
693 B
Nix
Raw Normal View History

2019-03-31 19:03:48 +01:00
{ 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 ];
};
}