Merge pull request #196848 from natsukium/hackgen-font/init

hackgen fonts: init
This commit is contained in:
Anderson Torres 2022-10-27 22:10:11 -03:00 committed by GitHub
commit 45cedb1cc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View file

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

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

@ -26185,6 +26185,10 @@ with pkgs;
hack-font = callPackage ../data/fonts/hack { };
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 { };