goodhosts: init at v1.1.1

+38 -1
+1 -1
maintainers/maintainer-list.nix
··· 15392 15392 schinmai-akamai = { 15393 15393 email = "schinmai@akamai.com"; 15394 15394 github = "schinmai-akamai"; 15395 - gitubId = 70169773; 15395 + githubId = 70169773; 15396 15396 name = "Tarun Chinmai Sekar"; 15397 15397 }; 15398 15398 schmitthenner = {
+35
pkgs/tools/networking/goodhosts/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , testers 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "goodhosts"; 9 + version = "1.1.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "goodhosts"; 13 + repo = "cli"; 14 + rev = "v${version}"; 15 + hash = "sha256-VXOMyYM4jS3gYxm3WiKw3uKeC535ppd9iHumPiupGbc="; 16 + }; 17 + 18 + ldflags = [ 19 + "-s -w -X main.version=${version}" 20 + ]; 21 + 22 + postInstall = '' 23 + mv $out/bin/cli $out/bin/goodhosts 24 + ''; 25 + 26 + vendorHash = "sha256-pL1z8cfnzcmX5iMVHQJGXYmzGuf8bp4Txbqoh5wSPWQ="; 27 + 28 + meta = with lib; { 29 + description = "A CLI tool for managing hostfiles"; 30 + license = licenses.mit; 31 + homepage = "https://github.com/goodhosts/cli/tree/main"; 32 + maintainers = with maintainers; [ schinmai-akamai ]; 33 + mainProgram = "goodhosts"; 34 + }; 35 + }
+2
pkgs/top-level/all-packages.nix
··· 1816 1816 1817 1817 godspeed = callPackage ../tools/networking/godspeed { }; 1818 1818 1819 + goodhosts = callPackage ../tools/networking/goodhosts { }; 1820 + 1819 1821 goose = callPackage ../tools/misc/goose { }; 1820 1822 1821 1823 gp-saml-gui = python3Packages.callPackage ../tools/networking/gp-saml-gui { };