{ lib, buildGoModule, fetchFromGitHub, testers, dagger }: buildGoModule rec { pname = "dagger"; version = "0.3.9"; src = fetchFromGitHub { owner = "dagger"; repo = "dagger"; rev = "v${version}"; hash = "sha256-tq3b/4ysGG7fozIou1cvWs+BJSe9rPDYKaV2GT3hLGE="; }; vendorHash = "sha256-8FjzL++AFNhHvk9ipeVK3tmPMEgTKg8Fz/vJZMEAPJE="; 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 ]; }; }