mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
23 lines
716 B
Nix
23 lines
716 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "0.60";
|
|
in fetchzip {
|
|
name = "sudo-font-${version}";
|
|
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
|
sha256 = "1zhl9yhx0dzkzc31i60lmcrizq8f3rkc7dbng5fal6iy8dwhnkmg";
|
|
|
|
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/";
|
|
changelog = "https://github.com/jenskutilek/sudo-font/raw/v${version}/sudo/FONTLOG.txt";
|
|
license = licenses.ofl;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|