a6d62be0d1
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
30 lines
735 B
Nix
30 lines
735 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
||
|
||
buildGoModule rec {
|
||
pname = "datree";
|
||
version = "0.14.62";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "datreeio";
|
||
repo = "datree";
|
||
rev = version;
|
||
sha256 = "sha256-yNq3GRovFm0OlYNJJGjTe5AqKG9J4I+igJ/WVNLWdKI=";
|
||
};
|
||
|
||
vendorSha256 = "sha256-SlU1lJcKCDkoihU19c8iky3Bj5ZZD9E9W0QQX9fBT1c=";
|
||
|
||
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 ];
|
||
};
|
||
}
|