mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
parent
672c3c1d2a
commit
48fd8be3f1
26
pkgs/data/fonts/nahid-fonts/default.nix
Normal file
26
pkgs/data/fonts/nahid-fonts/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nahid-fonts";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rastikerdar";
|
||||
repo = "nahid-font";
|
||||
rev = "v${version}";
|
||||
sha256 = "0n42sywi41zin9dilr8vabmcqvmx2f1a8b4yyybs6ms9zb9xdkxg";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/nahid-fonts
|
||||
cp -v $( find . -name '*.ttf') $out/share/fonts/nahid-fonts
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/rastikerdar/nahid-font;
|
||||
description = "A Persian (Farsi) Font - قلم (فونت) فارسی ناهید";
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.linarcx ];
|
||||
};
|
||||
}
|
@ -4536,6 +4536,8 @@ in
|
||||
|
||||
nabi = callPackage ../tools/inputmethods/nabi { };
|
||||
|
||||
nahid-fonts = callPackage ../data/fonts/nahid-fonts { };
|
||||
|
||||
namazu = callPackage ../tools/text/namazu { };
|
||||
|
||||
nano-wallet = libsForQt5.callPackage ../applications/altcoins/nano-wallet { };
|
||||
|
Loading…
Reference in New Issue
Block a user