Merge pull request #127276 from DearRude/add/vazir-code

This commit is contained in:
Sandro 2021-06-20 17:56:00 +02:00 committed by GitHub
commit 6ccba8dddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -2381,6 +2381,16 @@
githubId = 75067;
name = "Daniel Duan";
};
dearrude = {
name = "Ebrahim Nejati";
email = "dearrude@tfwno.gf";
github = "dearrude";
githubId = 30749142;
keys = [{
longkeyid = "rsa4096/19151E03BF2CF012";
fingerprint = "4E35 F2E5 2132 D654 E815 A672 DB2C BC24 2868 6000";
}];
};
deepfire = {
email = "_deepfire@feelingofgreen.ru";
github = "deepfire";

View file

@ -0,0 +1,26 @@
{ lib, fetchFromGitHub }:
let
pname = "vazir-code-font";
version = "1.1.2";
in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
repo = "vazir-code-font";
rev = "v${version}";
postFetch = ''
tar xf $downloadedFile --strip=1
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
'';
sha256 = "0ivwpn9xm2zwhwgg9mghyiy5v66cn4786w9j6rkff5cmzshv279r";
meta = with lib; {
homepage = "https://github.com/rastikerdar/vazir-code-font";
description = "A Persian (farsi) Monospaced Font for coding";
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = [ maintainers.dearrude ];
};
}

View file

@ -31395,6 +31395,8 @@ in
vaultenv = haskellPackages.vaultenv;
vazir-code-font = callPackage ../data/fonts/vazir-code-font { };
vazir-fonts = callPackage ../data/fonts/vazir-fonts { };
vbam = callPackage ../misc/emulators/vbam { };