diff --git a/pkgs/development/tools/hostess/default.nix b/pkgs/development/tools/hostess/default.nix new file mode 100644 index 000000000000..47eab1abd8ef --- /dev/null +++ b/pkgs/development/tools/hostess/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "hostess"; + version = "0.5.2"; + + src = fetchFromGitHub { + owner = "cbednarski"; + repo = pname; + rev = "v${version}"; + sha256 = "1izszf60nsa6pyxx3kd8qdrz3h47ylm17r9hzh9wk37f61pmm42j"; + }; + + subPackages = [ "." ]; + + vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5"; + + meta = with lib; { + description = "An idempotent command-line utility for managing your /etc/hosts* file."; + license = licenses.mit; + maintainers = with maintainers; [ edlimerkaj ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9375b4165358..48516c8d74f3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6320,6 +6320,8 @@ with pkgs; host = bind.host; + hostess = callPackage ../development/tools/hostess {}; + hotpatch = callPackage ../development/libraries/hotpatch { }; hotspot = libsForQt5.callPackage ../development/tools/analysis/hotspot { };