3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/sudo/default.nix

23 lines
709 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2019-01-31 00:27:24 +00:00
let
2021-05-21 01:58:37 +01:00
version = "0.53.1";
2019-08-13 22:52:01 +01:00
in fetchzip {
2019-01-31 00:27:24 +00:00
name = "sudo-font-${version}";
2021-05-21 01:58:37 +01:00
url = "https://github.com/jenskutilek/sudo-font/raw/v${version}/dist/sudo.zip";
sha256 = "1jil43j9ngz4422m76x67bafvxz75rncqqi57xd7fdxgcff7i8dp";
2019-01-31 00:27:24 +00:00
postFetch = ''
2020-02-22 01:00:00 +00:00
mkdir -p $out/share/fonts/
2019-01-31 00:27:24 +00:00
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
'';
meta = with lib; {
2019-01-31 00:27:24 +00:00
description = "Font for programmers and command line users";
2020-02-22 01:00:00 +00:00
homepage = "https://www.kutilek.de/sudo-font/";
2021-05-21 01:58:37 +01:00
changelog = "https://github.com/jenskutilek/sudo-font/raw/v${version}/sudo/FONTLOG.txt";
2019-01-31 00:27:24 +00:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}