bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
24 lines
548 B
Nix
24 lines
548 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 = "Idempotent command-line utility for managing your /etc/hosts* file";
|
|
mainProgram = "hostess";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ edlimerkaj ];
|
|
};
|
|
}
|