2022-04-13 23:12:44 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dagger";
|
2022-08-24 10:54:59 +01:00
|
|
|
version = "0.2.31";
|
2022-04-13 23:12:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dagger";
|
|
|
|
repo = "dagger";
|
|
|
|
rev = "v${version}";
|
2022-08-24 10:54:59 +01:00
|
|
|
sha256 = "sha256-G4SittUyh0vqpDWi9vRxTB2Be+gwluYaLCSHDoV8uMg=";
|
2022-04-13 23:12:44 +01:00
|
|
|
};
|
|
|
|
|
2022-08-24 10:54:59 +01:00
|
|
|
vendorSha256 = "sha256-kQ40tydh3CpXupqDE5DRpnj4Xb36jpHAeTRvZf5ZNus=";
|
2022-04-13 23:12:44 +01:00
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/dagger"
|
|
|
|
];
|
|
|
|
|
2022-07-21 15:47:55 +01:00
|
|
|
ldflags = [ "-s" "-w" "-X go.dagger.io/dagger/version.Version=${version}" ];
|
2022-04-13 23:12:44 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A portable devkit for CICD pipelines";
|
|
|
|
homepage = "https://dagger.io";
|
|
|
|
license = licenses.asl20;
|
2022-07-23 12:18:51 +01:00
|
|
|
maintainers = with maintainers; [ jfroche sagikazarmark ];
|
2022-04-13 23:12:44 +01:00
|
|
|
};
|
|
|
|
}
|