2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2019-01-31 00:27:24 +00:00
|
|
|
|
|
|
|
let
|
2020-01-14 09:20:00 +00:00
|
|
|
version = "0.41";
|
2019-08-13 22:52:01 +01:00
|
|
|
in fetchzip {
|
2019-01-31 00:27:24 +00:00
|
|
|
name = "sudo-font-${version}";
|
|
|
|
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
2020-01-14 09:20:00 +00:00
|
|
|
sha256 = "055sz9jg3fg7ypk9nia4dl9haaaq3w8zx5c2cdi3iq9kj8k5gg53";
|
2019-01-31 00:27:24 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype/
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
|
|
|
'';
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2019-01-31 00:27:24 +00:00
|
|
|
description = "Font for programmers and command line users";
|
|
|
|
homepage = https://www.kutilek.de/sudo-font/;
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|