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