nixpkgs/pkgs/applications/networking/browsers/bombadillo/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

31 lines
723 B
Nix

{ lib, fetchgit, buildGoModule, installShellFiles }:
buildGoModule rec {
pname = "bombadillo";
version = "2.4.0";
src = fetchgit {
url = "https://tildegit.org/sloum/bombadillo.git";
rev = version;
sha256 = "sha256-FjU9AyRAdGFr1bVpkmj5STkbzCXvpxOaOj7WNQJq7A0=";
};
nativeBuildInputs = [ installShellFiles ];
vendorHash = null;
outputs = [ "out" "man" ];
postInstall = ''
installManPage bombadillo.1
'';
meta = with lib; {
description = "Non-web client for the terminal, supporting Gopher, Gemini and more";
mainProgram = "bombadillo";
homepage = "https://bombadillo.colorfield.space/";
license = licenses.gpl3;
maintainers = with maintainers; [ ehmry ];
};
}