summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/earthly/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/earthly/default.nix')
-rw-r--r--pkgs/development/tools/earthly/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/earthly/default.nix b/pkgs/development/tools/earthly/default.nix
new file mode 100644
index 000000000000..68a8d1d03523
--- /dev/null
+++ b/pkgs/development/tools/earthly/default.nix
@@ -0,0 +1,28 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "earthly";
+ version = "0.5.13";
+
+ src = fetchFromGitHub {
+ owner = "earthly";
+ repo = "earthly";
+ rev = "v${version}";
+ sha256 = "sha256-XN3E1oCIlohALnaP17WOB7/1vaklmyAfVZLxrBOXhbo=";
+ };
+
+ vendorSha256 = "sha256-q3dDV0eop2NxXHFrlppWsZrO2Hz1q5xhs1DnB6PvG9g=";
+
+ 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 ];
+ };
+}