2022-04-15 01:41:22 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dagger";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.2.36";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dagger";
|
|
|
|
repo = "dagger";
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-U+MdX/7RIrhnPjUjzYAQEVeHQUpgMtKanvjPLBjCNSY=";
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
vendorSha256 = "sha256-ArdqEHECnGTMs3sJrPIAfmTT0D2V8SHyTYXmDODVtuo=";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/dagger"
|
|
|
|
];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X go.dagger.io/dagger/version.Version=${version}" ];
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A portable devkit for CICD pipelines";
|
|
|
|
homepage = "https://dagger.io";
|
|
|
|
license = licenses.asl20;
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with maintainers; [ jfroche sagikazarmark ];
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
}
|