Update pkgs/top-level/all-packages.nix; Added earthly Do check tests created personal handle in maintainers/maintainer-list.nix preppended "debugger" and "shellrepeater" binaries with earthly-* to avoid collisions fixed earthly package maintainer name
29 lines
771 B
Nix
29 lines
771 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "earthly";
|
|
version = "0.5.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "earthly";
|
|
repo = "earthly";
|
|
rev = "v${version}";
|
|
sha256 = "1d9p2f79f2k7nnka9qja3dlqvvl240l09frkb17ff2f5kyi1qabv";
|
|
};
|
|
|
|
vendorSha256 = "1wfm55idlxf6cbm6b5z3fip0j94nwr7m0zxx6a2nsr03d4x0ad0k";
|
|
|
|
postInstall = ''
|
|
mv $out/bin/debugger $out/bin/earthly-debugger
|
|
mv $out/bin/shellrepeater $out/bin/earthly-shellrepeater
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Build automation for the container era";
|
|
homepage = "https://earthly.dev/";
|
|
changelog = "https://github.com/earthly/earthly/releases/tag/v${version}";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ mdsp ];
|
|
};
|
|
}
|