ec239953a9
* datree: 0.15.16 -> 0.15.19 (#161175) * datreee: 0.15.19 -> 0.15.22 Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
31 lines
734 B
Nix
31 lines
734 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
||
|
||
buildGoModule rec {
|
||
pname = "datree";
|
||
version = "0.15.22";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "datreeio";
|
||
repo = "datree";
|
||
rev = version;
|
||
hash = "sha256-g5u2QQtVmNp01KtUKwC8uoEIuoBDLHsOlRz1Mv0n/y8=";
|
||
};
|
||
|
||
vendorSha256 = "1cvlvlwdk41f145kzifg7rv7ymwhc9k0ck91bn106240rq1igcr0";
|
||
|
||
ldflags = [
|
||
"-s"
|
||
"-w"
|
||
"-X github.com/datreeio/datree/cmd.CliVersion=${version}"
|
||
];
|
||
|
||
doCheck = true;
|
||
|
||
meta = with lib; {
|
||
description = "CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies";
|
||
homepage = "https://datree.io/";
|
||
license = [ licenses.asl20 ];
|
||
maintainers = [ maintainers.jceb ];
|
||
};
|
||
}
|