2022-04-13 22:12:44 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dagger";
|
2022-06-09 20:22:18 +00:00
|
|
|
version = "0.2.18";
|
2022-04-13 22:12:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dagger";
|
|
|
|
repo = "dagger";
|
|
|
|
rev = "v${version}";
|
2022-06-09 20:22:18 +00:00
|
|
|
sha256 = "sha256-nxBevv7COhywEYeRq1gXAuLswxe2WgHI0Pm78IvzapM=";
|
2022-04-13 22:12:44 +00:00
|
|
|
};
|
|
|
|
|
2022-06-09 20:22:18 +00:00
|
|
|
vendorSha256 = "sha256-27cXvgpw4Te0w/rMk6g5jF3UY6N8saArUwfbVO6xpes=";
|
2022-04-13 22:12:44 +00:00
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/dagger"
|
|
|
|
];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X go.dagger.io/dagger/version.Revision=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A portable devkit for CICD pipelines";
|
|
|
|
homepage = "https://dagger.io";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jfroche ];
|
|
|
|
};
|
|
|
|
}
|