diff options
author | Matheus de Souza Pessanha <matheus_pessanha2001@outlook.com> | 2021-05-02 13:30:24 -0300 |
---|---|---|
committer | Matheus de Souza Pessanha <matheus_pessanha2001@outlook.com> | 2021-05-10 13:01:27 -0300 |
commit | a669f2a0e447db236e22ac19244ed03c276d0a42 (patch) | |
tree | 7fc7eeeb9ef68c717512c3fe07edd08fcab9aa60 /pkgs/development/tools/earthly | |
parent | 6bba03c7bce7c717f221273689f98c83c72c50f5 (diff) | |
download | nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.tar nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.tar.gz nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.tar.bz2 nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.tar.lz nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.tar.xz nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.tar.zst nixlib-a669f2a0e447db236e22ac19244ed03c276d0a42.zip |
earthly: init at 0.5.11
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
Diffstat (limited to 'pkgs/development/tools/earthly')
-rw-r--r-- | pkgs/development/tools/earthly/default.nix | 28 |
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..58ca9107c545 --- /dev/null +++ b/pkgs/development/tools/earthly/default.nix @@ -0,0 +1,28 @@ +{ 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 ]; + }; +} |