3
0
Fork 0
forked from mirrors/nixpkgs

earthly: and testVersion

This commit is contained in:
Konrad Malik 2024-01-23 10:18:45 +01:00
parent 1f04b1ac8d
commit 5db0147c5f
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, stdenv }:
{ lib, buildGoModule, fetchFromGitHub, stdenv, testers, earthly }:
buildGoModule rec {
pname = "earthly";
@ -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/";