Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 14, 2022
2 parents d012716 + f4fc768 commit 343b4c7
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 150 deletions.
38 changes: 38 additions & 0 deletions pkgs/applications/networking/cluster/nomad-pack/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, fetchFromGitHub
, buildGoModule
}:

buildGoModule rec {
pname = "nomad-pack";
version = "2022-02-11";
rev = "568ac5e42bc41172a1fa3c8b18af2f42b9e341ff";

src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
inherit rev;
sha256 = "sha256-0hvnGdUT72sWvMER67ZBxcC+VTbuFMIos2NudOjeTB8=";
};

vendorSha256 = "sha256-wmoXZIogKj4i9+AsEjY7QaT2Tn4LQyGQcEFHrRO0W9s=";

# skip running go tests as they require network access
doCheck = false;

doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/nomad-pack --version
runHook postInstallCheck
'';

meta = with lib; {
homepage = "https://github.com/hashicorp/nomad-pack";
changelog = "https://github.com/hashicorp/nomad-pack/blob/main/CHANGELOG.md";
description = "Nomad Pack is a templating and packaging tool used with HashiCorp Nomad.";
license = licenses.mpl20;
maintainers = with maintainers; [ techknowlogick ];
};

}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/tgswitch/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ buildGoPackage, lib, fetchFromGitHub }:
buildGoPackage rec {
pname = "tgswitch";
version = "0.5.378";
version = "0.5.382";

src = fetchFromGitHub {
owner = "warrensbox";
repo = "tgswitch";
rev = version;
sha256 = "0q2aqh75acbpkmvkws0rl3d5dzq3sisy637c0x6cnc88h34g3n3i";
sha256 = "sha256-DbPf1o1XlXLpuYSrNMRwHRqi/urQhSfzPW5BPIvZC/Y=";
};

goPackagePath = "github.com/warrensbox/tgswitch";
Expand Down
Loading

0 comments on commit 343b4c7

Please sign in to comment.