containers/apps/ci-os/packages/kube-linter/default.nix

20 lines
406 B
Nix
Raw Normal View History

2024-12-30 20:50:06 +00:00
{ lib, pkgs }:
pkgs.buildGoModule rec {
pname = "kubelinter";
version = "v0.7.1";
# Fetch the source from the GitHub repository
src = pkgs.fetchFromGitHub {
owner = "stackrox";
repo = "kube-linter";
rev = "v0.7.1";
sha256 = "<replace-with-correct-sha256>";
};
# Vendor dependencies for reproducibility
vendorHash = "<replace-with-vendor-hash>";
subPackages = [ "." ];
}