mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
29 lines
766 B
Nix
29 lines
766 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "sudo-font";
|
|
version = "1.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
|
hash = "sha256-XD+oLfPE8DD5DG5j/VN6nTVn+mhFE5qqyvjwDk2Dr/I=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 *.ttf -t $out/share/fonts/truetype/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|