Loading nixos/tests/all-tests.nix +1 −0 Original line number Diff line number Diff line Loading @@ -440,6 +440,7 @@ in { gns3-server = handleTest ./gns3-server.nix {}; gnupg = handleTest ./gnupg.nix {}; goatcounter = handleTest ./goatcounter.nix {}; go-camo = handleTest ./go-camo.nix { }; go-neb = handleTest ./go-neb.nix {}; gobgpd = handleTest ./gobgpd.nix {}; gocd-agent = handleTest ./gocd-agent.nix {}; Loading pkgs/by-name/go/go-camo/package.nix +20 −5 Original line number Diff line number Diff line { lib, buildGoModule, buildGo124Module, fetchFromGitHub, installShellFiles, scdoc, }: buildGoModule rec { buildGo124Module rec { pname = "go-camo"; version = "2.6.1"; version = "2.6.2"; src = fetchFromGitHub { owner = "cactus"; repo = pname; rev = "v${version}"; hash = "sha256-916XMmSRopudpLVKSBVp415nGkRCGkkunvQZiR46aSU="; hash = "sha256-f4XviRqu4muc2owwV3p7y5Rehl1jrf0jDhQQvGxnw7M="; }; vendorHash = "sha256-IYXVc6SkhayYtHKbojHrQSaCQlt3E+nwrZ4sR/fuV0Y="; vendorHash = "sha256-s6OPmtTx2/AxSm6Y0UjYORSuozPUemGyfdtv1NNlZHc="; nativeBuildInputs = [ installShellFiles scdoc ]; ldflags = [ "-s" Loading @@ -23,6 +30,14 @@ buildGoModule rec { "-X=main.ServerVersion=${version}" ]; postBuild = '' make man ''; postInstall = '' installManPage build/man/* ''; preCheck = '' # requires network access rm pkg/camo/proxy_{,filter_}test.go Loading Loading
nixos/tests/all-tests.nix +1 −0 Original line number Diff line number Diff line Loading @@ -440,6 +440,7 @@ in { gns3-server = handleTest ./gns3-server.nix {}; gnupg = handleTest ./gnupg.nix {}; goatcounter = handleTest ./goatcounter.nix {}; go-camo = handleTest ./go-camo.nix { }; go-neb = handleTest ./go-neb.nix {}; gobgpd = handleTest ./gobgpd.nix {}; gocd-agent = handleTest ./gocd-agent.nix {}; Loading
pkgs/by-name/go/go-camo/package.nix +20 −5 Original line number Diff line number Diff line { lib, buildGoModule, buildGo124Module, fetchFromGitHub, installShellFiles, scdoc, }: buildGoModule rec { buildGo124Module rec { pname = "go-camo"; version = "2.6.1"; version = "2.6.2"; src = fetchFromGitHub { owner = "cactus"; repo = pname; rev = "v${version}"; hash = "sha256-916XMmSRopudpLVKSBVp415nGkRCGkkunvQZiR46aSU="; hash = "sha256-f4XviRqu4muc2owwV3p7y5Rehl1jrf0jDhQQvGxnw7M="; }; vendorHash = "sha256-IYXVc6SkhayYtHKbojHrQSaCQlt3E+nwrZ4sR/fuV0Y="; vendorHash = "sha256-s6OPmtTx2/AxSm6Y0UjYORSuozPUemGyfdtv1NNlZHc="; nativeBuildInputs = [ installShellFiles scdoc ]; ldflags = [ "-s" Loading @@ -23,6 +30,14 @@ buildGoModule rec { "-X=main.ServerVersion=${version}" ]; postBuild = '' make man ''; postInstall = '' installManPage build/man/* ''; preCheck = '' # requires network access rm pkg/camo/proxy_{,filter_}test.go Loading