nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "hostess";
9 version = "0.5.2";
10
11 src = fetchFromGitHub {
12 owner = "cbednarski";
13 repo = "hostess";
14 rev = "v${version}";
15 sha256 = "1izszf60nsa6pyxx3kd8qdrz3h47ylm17r9hzh9wk37f61pmm42j";
16 };
17
18 subPackages = [ "." ];
19
20 vendorHash = null;
21
22 meta = with lib; {
23 description = "Idempotent command-line utility for managing your /etc/hosts* file";
24 mainProgram = "hostess";
25 license = licenses.mit;
26 maintainers = with maintainers; [ edlimerkaj ];
27 };
28}