mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
27 lines
693 B
Nix
27 lines
693 B
Nix
{ 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 ];
|
||
};
|
||
}
|