forked from mirrors/nixpkgs
parastoo-fonts: init at v1.0.0-alpha5 (#58445)
This commit is contained in:
parent
eaff32796b
commit
c29f267d92
26
pkgs/data/fonts/parastoo-fonts/default.nix
Normal file
26
pkgs/data/fonts/parastoo-fonts/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "parastoo-fonts";
|
||||
version = "1.0.0-alpha5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rastikerdar";
|
||||
repo = "parastoo-font";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nya9cbbs6sgv2w3zyah3lb1kqylf922q3fazh4l7bi6zgm8q680";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/parastoo-fonts
|
||||
cp -v $( find . -name '*.ttf') $out/share/fonts/parastoo-fonts
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/rastikerdar/parastoo-font;
|
||||
description = "A Persian (Farsi) Font - فونت ( قلم ) فارسی پرستو";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.linarcx ];
|
||||
};
|
||||
}
|
|
@ -4838,6 +4838,8 @@ in
|
|||
|
||||
parallel = callPackage ../tools/misc/parallel { };
|
||||
|
||||
parastoo-fonts = callPackage ../data/fonts/parastoo-fonts { };
|
||||
|
||||
parcellite = callPackage ../tools/misc/parcellite { };
|
||||
|
||||
patchutils = callPackage ../tools/text/patchutils { };
|
||||
|
|
Loading…
Reference in a new issue