Merge pull request #198766 from fabaff/legitify
legitify: init at 0.1.5
This commit is contained in:
commit
004193023e
2 changed files with 33 additions and 0 deletions
31
pkgs/development/tools/legitify/default.nix
Normal file
31
pkgs/development/tools/legitify/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "legitify";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Legit-Labs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Sr6P5S5+DqbP0ihCj97l84739/NRAlYJLnXp4B5gHNE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-EJMXzWrOXFl7JFYBp/XAcHLcNyWCKbOBAyo/Yf2mh5s=";
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-s"
|
||||
"-X github.com/Legit-Labs/legitify/internal/version.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to detect and remediate misconfigurations and security risks of GitHub assets";
|
||||
homepage = "https://github.com/Legit-Labs/legitify";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -29854,6 +29854,8 @@ with pkgs;
|
|||
|
||||
legit = callPackage ../applications/version-management/git-and-tools/legit { };
|
||||
|
||||
legitify = callPackage ../development/tools/legitify { };
|
||||
|
||||
lens = callPackage ../applications/networking/cluster/lens { };
|
||||
|
||||
leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { };
|
||||
|
|
Loading…
Reference in a new issue