nixpkgs-suyu/pkgs/data/fonts/sudo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
715 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2019-01-31 01:27:24 +01:00
let
2022-04-09 23:24:55 +02:00
version = "0.64";
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";
2022-04-09 23:24:55 +02:00
sha256 = "sha256-ewLTeIVY76eq5mHTnjIsJ5Q2CMuBqXJzxvjZTONPsr8=";
2019-01-31 01:27:24 +01:00
postFetch = ''
2020-02-22 02:00:00 +01:00
mkdir -p $out/share/fonts/
2019-01-31 01:27:24 +01:00
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
'';
meta = with lib; {
2019-01-31 01:27:24 +01:00
description = "Font for programmers and command line users";
2020-02-22 02:00:00 +01:00
homepage = "https://www.kutilek.de/sudo-font/";
2021-05-21 02:58:37 +02:00
changelog = "https://github.com/jenskutilek/sudo-font/raw/v${version}/sudo/FONTLOG.txt";
2019-01-31 01:27:24 +01:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}