yor: init at 0.1.177
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
93581dbb57
commit
664f51821a
42
pkgs/applications/networking/cluster/yor/default.nix
Normal file
42
pkgs/applications/networking/cluster/yor/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yor";
|
||||
version = "0.1.177";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tOYRd3LxSlAvXCW89LAm4GWWukDBZhsgYIWYlEVKokE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZeTjGmlu8LndD2DKNncPzlpECdvkOjfwaVvV6S3sL9E=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# https://github.com/bridgecrewio/yor/blob/main/set-version.sh
|
||||
preBuild = ''
|
||||
cat << EOF > src/common/version.go
|
||||
package common
|
||||
|
||||
const Version = "${version}"
|
||||
EOF
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it.";
|
||||
homepage = "https://github.com/bridgecrewio/yor";
|
||||
changelog = "https://github.com/bridgecrewio/yor/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ivankovnatsky ];
|
||||
};
|
||||
}
|
@ -40443,6 +40443,8 @@ with pkgs;
|
||||
|
||||
werf = callPackage ../applications/networking/cluster/werf { };
|
||||
|
||||
yor = callPackage ../applications/networking/cluster/yor { };
|
||||
|
||||
wifi-password = callPackage ../os-specific/darwin/wifi-password { };
|
||||
|
||||
qubes-core-vchan-xen = callPackage ../applications/qubes/qubes-core-vchan-xen { };
|
||||
|
Loading…
Reference in New Issue
Block a user