nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 30 lines 734 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "datree"; 5 version = "0.15.22"; 6 7 src = fetchFromGitHub { 8 owner = "datreeio"; 9 repo = "datree"; 10 rev = version; 11 hash = "sha256-g5u2QQtVmNp01KtUKwC8uoEIuoBDLHsOlRz1Mv0n/y8="; 12 }; 13 14 vendorSha256 = "1cvlvlwdk41f145kzifg7rv7ymwhc9k0ck91bn106240rq1igcr0"; 15 16 ldflags = [ 17 "-s" 18 "-w" 19 "-X github.com/datreeio/datree/cmd.CliVersion=${version}" 20 ]; 21 22 doCheck = true; 23 24 meta = with lib; { 25 description = "CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organizations policies"; 26 homepage = "https://datree.io/"; 27 license = [ licenses.asl20 ]; 28 maintainers = [ maintainers.jceb ]; 29 }; 30}