about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/hostess/default.nix
blob: f15f67e3b7cb50d8467e1f6add4e7d16e4025411 (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
24
{ 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 ];
  };
}