2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2019-01-31 01:27:24 +01:00
|
|
|
|
|
|
|
let
|
2019-09-04 01:12:56 +02:00
|
|
|
version = "0.40";
|
2019-08-13 23:52:01 +02:00
|
|
|
in fetchzip {
|
2019-01-31 01:27:24 +01:00
|
|
|
name = "sudo-font-${version}";
|
|
|
|
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
2019-09-04 01:12:56 +02:00
|
|
|
sha256 = "1nf025sjps4yysf6zkns5fzjgls6xdpifh7bz4ray9x8h5pz0z64";
|
2019-01-31 01:27:24 +01:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype/
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
|
|
|
'';
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2019-01-31 01:27:24 +01: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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|