2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.61";
|
2020-04-24 23:36:52 +00:00
|
|
|
in fetchzip {
|
|
|
|
name = "sudo-font-${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-4GDlx2zhwkcsxJPq0IrS1owmw+RKy09X3Q0zzA9l79w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts/
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
|
|
|
'';
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Font for programmers and command line users";
|
|
|
|
homepage = "https://www.kutilek.de/sudo-font/";
|
2021-05-28 09:39:13 +00:00
|
|
|
changelog = "https://github.com/jenskutilek/sudo-font/raw/v${version}/sudo/FONTLOG.txt";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|