Merge pull request #154319 from techknowlogick/nomad-pack
This commit is contained in:
commit
2748bcc6d8
38
pkgs/applications/networking/cluster/nomad-pack/default.nix
Normal file
38
pkgs/applications/networking/cluster/nomad-pack/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -8162,6 +8162,8 @@ with pkgs;
|
|||||||
|
|
||||||
nomad-driver-podman = callPackage ../applications/networking/cluster/nomad-driver-podman { };
|
nomad-driver-podman = callPackage ../applications/networking/cluster/nomad-driver-podman { };
|
||||||
|
|
||||||
|
nomad-pack = callPackage ../applications/networking/cluster/nomad-pack { };
|
||||||
|
|
||||||
nomino = callPackage ../tools/misc/nomino { };
|
nomino = callPackage ../tools/misc/nomino { };
|
||||||
|
|
||||||
notable = callPackage ../applications/misc/notable { };
|
notable = callPackage ../applications/misc/notable { };
|
||||||
|
Loading…
Reference in New Issue
Block a user