blob: 5c880a56b617cd533b594258db2cb2b93a8cc333 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "xeol";
version = "0.9.14";
src = fetchFromGitHub {
owner = "xeol-io";
repo = "xeol";
rev = "refs/tags/v${version}";
hash = "sha256-ubgOZFCWBU5wtxL7l7yHplnVOBwf+b6MMWgP/W0VwW8=";
};
vendorHash = "sha256-X3RJiqndHsApKHfAaZVw3ZdmxMT/+aNht2Jx5uHX1EQ=";
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";
};
}
|