blob: 5d87131c1028baa01dd8004171ff0d7a2328aff0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 ];
};
}
|