diff options
Diffstat (limited to 'pkgs/development/tools/earthly/default.nix')
-rw-r--r-- | pkgs/development/tools/earthly/default.nix | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/pkgs/development/tools/earthly/default.nix b/pkgs/development/tools/earthly/default.nix deleted file mode 100644 index 576c3edd405c..000000000000 --- a/pkgs/development/tools/earthly/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, stdenv, testers, earthly }: - -buildGoModule rec { - pname = "earthly"; - version = "0.8.15"; - - src = fetchFromGitHub { - owner = "earthly"; - repo = "earthly"; - rev = "v${version}"; - hash = "sha256-7yw2SmwWsPBCH0LOaZSruYeZ5qL+njGuExy8+11Ni78="; - }; - - vendorHash = "sha256-bwNuQPGjAQ9Afa2GuPWrW8ytfIvhsOYFKPt0zyfdZhU="; - subPackages = [ "cmd/earthly" "cmd/debugger" ]; - - CGO_ENABLED = 0; - - ldflags = [ - "-s" - "-w" - "-X main.Version=v${version}" - "-X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${version}" - "-X main.GitSha=v${version}" - "-X main.DefaultInstallationName=earthly" - ] ++ lib.optionals stdenv.isLinux [ - "-extldflags '-static'" - ]; - - tags = [ - "dfrunmount" - "dfrunnetwork" - "dfrunsecurity" - "dfsecrets" - "dfssh" - ]; - - postInstall = '' - 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/"; - changelog = "https://github.com/earthly/earthly/releases/tag/v${version}"; - license = licenses.mpl20; - maintainers = with maintainers; [ zoedsoupe konradmalik ]; - }; -} |