nixpkgs/pkgs/development/tools/hostess/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

25 lines
552 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "hostess";
version = "0.5.2";
src = fetchFromGitHub {
owner = "cbednarski";
repo = pname;
rev = "v${version}";
sha256 = "1izszf60nsa6pyxx3kd8qdrz3h47ylm17r9hzh9wk37f61pmm42j";
};
subPackages = [ "." ];
vendorHash = null;
meta = with lib; {
description = "An idempotent command-line utility for managing your /etc/hosts* file.";
mainProgram = "hostess";
license = licenses.mit;
maintainers = with maintainers; [ edlimerkaj ];
};
}