nixpkgs/pkgs/development/tools/hostess/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
552 B
Nix
Raw Normal View History

2021-08-05 12:48:00 +00:00
{ 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;
2021-08-05 12:48:00 +00:00
meta = with lib; {
description = "An idempotent command-line utility for managing your /etc/hosts* file.";
mainProgram = "hostess";
2021-08-05 12:48:00 +00:00
license = licenses.mit;
maintainers = with maintainers; [ edlimerkaj ];
};
}