3
0
Fork 0
forked from mirrors/nixpkgs

hackgen-nf-font: init at 2.7.1

This commit is contained in:
natsukium 2022-10-28 10:02:53 +09:00
parent d7ce65a977
commit ecd50e8b86
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, fetchzip
}:
fetchzip rec {
pname = "hackgen-nf-font";
version = "2.7.1";
url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_NF_v${version}.zip";
sha256 = "sha256-9sylGr37kKIGWgThZFqL2y6oI3t2z4kbXYk5DBMIb/g=";
postFetch = ''
install -Dm644 $out/*.ttf -t $out/share/fonts/hackgen-nf
shopt -s extglob dotglob
rm -rf $out/!(share)
shopt -u extglob dotglob
'';
meta = with lib; {
description = "A composite font of Hack, GenJyuu-Gothic and nerd-fonts";
homepage = "https://github.com/yuru7/HackGen";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ natsukium ];
};
}

View file

@ -26054,6 +26054,8 @@ with pkgs;
hackgen-font = callPackage ../data/fonts/hackgen { };
hackgen-nf-font = callPackage ../data/fonts/hackgen/nerdfont.nix { };
helvetica-neue-lt-std = callPackage ../data/fonts/helvetica-neue-lt-std { };
helvum = callPackage ../applications/audio/helvum { };