Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "hostess"; 5 version = "0.5.2"; 6 7 src = fetchFromGitHub { 8 owner = "cbednarski"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1izszf60nsa6pyxx3kd8qdrz3h47ylm17r9hzh9wk37f61pmm42j"; 12 }; 13 14 subPackages = [ "." ]; 15 16 vendorSha256 = null; 17 18 meta = with lib; { 19 description = "An idempotent command-line utility for managing your /etc/hosts* file."; 20 license = licenses.mit; 21 maintainers = with maintainers; [ edlimerkaj ]; 22 }; 23}