20 lines
406 B
Nix
20 lines
406 B
Nix
|
{ 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 = [ "." ];
|
||
|
}
|