diff options
Diffstat (limited to 'pkgs/development/tools/earthly')
-rw-r--r-- | pkgs/development/tools/earthly/default.nix | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/tools/earthly/default.nix b/pkgs/development/tools/earthly/default.nix index fee62a7fd981b..501965b18a120 100644 --- a/pkgs/development/tools/earthly/default.nix +++ b/pkgs/development/tools/earthly/default.nix @@ -1,17 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub, stdenv }: +{ lib, buildGoModule, fetchFromGitHub, stdenv, testers, earthly }: buildGoModule rec { pname = "earthly"; - version = "0.7.23"; + version = "0.8.0"; src = fetchFromGitHub { owner = "earthly"; repo = "earthly"; rev = "v${version}"; - hash = "sha256-YXfW+O7u97x8YoWLNFSU/OIB9DGsqWEIwUpfvnXySMg="; + hash = "sha256-CB3ybV/jW1l0esSPNA6hBsceVw0UlmyDydz9dLmd3N4="; }; - vendorHash = "sha256-Tr9clCUS7T0295Oxe6wvQN0oXCg1G48rzGXBL3R9TYU="; + vendorHash = "sha256-IU/D//ucQQIb/+M5rN7mtoVqDFmq799b6IoQfjD86Ls="; subPackages = [ "cmd/earthly" "cmd/debugger" ]; CGO_ENABLED = 0; @@ -39,6 +39,13 @@ buildGoModule rec { mv $out/bin/debugger $out/bin/earthly-debugger ''; + passthru = { + tests.version = testers.testVersion { + package = earthly; + version = "v${version}"; + }; + }; + meta = with lib; { description = "Build automation for the container era"; homepage = "https://earthly.dev/"; |