about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/hostess/default.nix
blob: 7bf78c403318c68cd16668ae8214c127ce244d51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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.";
    license = licenses.mit;
    maintainers = with maintainers; [ edlimerkaj ];
  };
}