forked from mirrors/nixpkgs
earthly: and testVersion
This commit is contained in:
parent
1f04b1ac8d
commit
5db0147c5f
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue