{ lib, buildGoModule, fetchFromGitHub, testers, dagger }: buildGoModule rec { pname = "dagger"; version = "0.3.12"; src = fetchFromGitHub { owner = "dagger"; repo = "dagger"; rev = "v${version}"; hash = "sha256-70qN5cZb0EjBPE5xpeKUv46JD+B8rYaDejAfaqC0Y4M="; }; vendorHash = "sha256-9a5W8+tQ5rhtq4uul84AtxcKOc25lfe7bMpgbhRT9/Y="; proxyVendor = true; subPackages = [ "cmd/dagger" ]; ldflags = [ "-s" "-w" "-X github.com/dagger/dagger/internal/engine.Version=${version}" ]; passthru.tests.version = testers.testVersion { package = dagger; command = "dagger version"; }; meta = with lib; { description = "A portable devkit for CICD pipelines"; homepage = "https://dagger.io"; license = licenses.asl20; maintainers = with maintainers; [ jfroche sagikazarmark ]; }; }