yor: init at 0.1.177

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Ivan Kovnatsky 2023-05-23 15:27:31 +03:00
parent 93581dbb57
commit 664f51821a
No known key found for this signature in database
GPG Key ID: 3A33FA4C82ED674F
2 changed files with 44 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };