@@ -0,0 +1,28 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "earthly";
5+ version = "0.5.11";
6+
7+ src = fetchFromGitHub {
8+ owner = "earthly";
9+ repo = "earthly";
10+ rev = "v${version}";
11+ sha256 = "1d9p2f79f2k7nnka9qja3dlqvvl240l09frkb17ff2f5kyi1qabv";
12+ };
13+
14+ vendorSha256 = "1wfm55idlxf6cbm6b5z3fip0j94nwr7m0zxx6a2nsr03d4x0ad0k";
15+
16+ postInstall = ''
17+ mv $out/bin/debugger $out/bin/earthly-debugger
18+ mv $out/bin/shellrepeater $out/bin/earthly-shellrepeater
19+ '';
20+
21+ meta = with lib; {
22+ description = "Build automation for the container era";
23+ homepage = "https://earthly.dev/";
24+ changelog = "https://github.com/earthly/earthly/releases/tag/v${version}";
25+ license = licenses.mpl20;
26+ maintainers = with maintainers; [ mdsp ];
27+ };
28+}