Merge pull request #189186 from nitrocode/atmos

atmos: init at 1.4.28
This commit is contained in:
Jonas Heinrich 2022-09-07 17:19:19 +02:00 committed by GitHub
commit d44d22b378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

View File

@ -15253,4 +15253,10 @@
fingerprint = "7B9E E848 D074 AE03 7A0C 651A 8ED4 DEF7 375A 30C8";
}];
};
rb = {
email = "maintainers@cloudposse.com";
github = "nitrocode";
githubId = 7775707;
name = "RB";
};
}

View File

@ -0,0 +1,40 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "atmos";
version = "1.4.28";
src = fetchFromGitHub {
owner = "cloudposse";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AqW//+x1tKzm5dJirXCLFuDBTk3dHHw7c6vwsVsI37U";
};
vendorSha256 = "sha256-bepv8Ns8vcpLpmO7fsRgGijB9B6kQ5HhxUhIuEpGtOY=";
ldflags = [ "-s" "-w" "-X github.com/cloudposse/atmos/cmd.Version=v${version}" ];
preCheck = ''
# Remove tests that depend on a network connection.
rm -f pkg/vender/component_vendor_test.go
'';
doCheck = true;
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/atmos version | grep "v${version}"
runHook postInstallCheck
'';
meta = with lib; {
homepage = "https://atmos.tools";
changelog = "https://github.com/cloudposse/atmos/releases/tag/v${version}";
description = "Universal Tool for DevOps and Cloud Automation (works with terraform, helm, helmfile, etc)";
license = licenses.asl20;
maintainers = with maintainers; [ rb ];
};
}

View File

@ -35189,6 +35189,8 @@ with pkgs;
atlantis = callPackage ../applications/networking/cluster/atlantis { };
atmos = callPackage ../applications/networking/cluster/atmos {};
fn-cli = callPackage ../applications/networking/cluster/fn-cli { };
auctex = callPackage ../tools/typesetting/tex/auctex { };