xeol: init at 0.9.13
Scanner for end-of-life (EOL) software and dependencies in container images, filesystems, and SBOMs https://github.com/xeol-io/xeol
This commit is contained in:
parent
62748bdf42
commit
1422ad9a5e
1 changed files with 40 additions and 0 deletions
40
pkgs/by-name/xe/xeol/package.nix
Normal file
40
pkgs/by-name/xe/xeol/package.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "xeol";
|
||||
version = "0.9.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xeol-io";
|
||||
repo = "xeol";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ZBj/0/270Eo5iE6ZMcLH+CygoYW6/gXfGBldfdlGZOg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-fGOta+IsX/McUkQGOvf9ZlnCD1falDJSeU+AX359Zpw=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/xeol/"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-s"
|
||||
"-X=main.version=${version}"
|
||||
"-X=main.gitCommit=${src.rev}"
|
||||
"-X=main.buildDate=1970-01-01T00:00:00Z"
|
||||
"-X=main.gitDescription=${src.rev}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Scanner for end-of-life (EOL) software and dependencies in container images, filesystems, and SBOMs";
|
||||
homepage = "https://github.com/xeol-io/xeol";
|
||||
changelog = "https://github.com/xeol-io/xeol/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "xeol";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue