nixpkgs/pkgs/games/banner/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
690 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "banner";
version = "1.3.6";
src = fetchFromGitHub {
owner = "pronovic";
repo = "banner";
rev = "BANNER_V${version}";
sha256 = "sha256-g9i460W0SanW2xIfZk9Am/vDsRlL7oxJOUhksa+I8zY=";
};
meta = with lib; {
homepage = "https://github.com/pronovic/banner";
description = "Print large banners to ASCII terminals";
mainProgram = "banner";
license = licenses.gpl2Only;
longDescription = ''
An implementation of the traditional Unix-program used to display
large characters.
'';
platforms = platforms.all;
maintainers = with maintainers; [ pSub ];
};
}