Merge pull request #233612 from ivankovnatsky/patch-41

yor: init at 0.1.177
This commit is contained in:
Sandro
2023-06-05 00:30:19 +02:00
committed by GitHub
2 changed files with 44 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -40618,6 +40618,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 { };