Skip to content

Commit 0ea8e23

Browse files
committed
vulnx: rename, 1.0.0 -> 2.0.1
1 parent 9fb93e1 commit 0ea8e23

3 files changed

Lines changed: 39 additions & 37 deletions

File tree

pkgs/by-name/cv/cvemap/package.nix

Lines changed: 0 additions & 37 deletions
This file was deleted.

pkgs/by-name/vu/vulnx/package.nix

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
versionCheckHook,
6+
}:
7+
8+
buildGoModule (finalAttrs: {
9+
pname = "vulnx";
10+
version = "2.0.1";
11+
12+
src = fetchFromGitHub {
13+
owner = "projectdiscovery";
14+
repo = "vulnx";
15+
tag = "v${finalAttrs.version}";
16+
hash = "sha256-HejAK/KXpQ9HouA3JpX7MoMzMUoMmKX7eEKwMGfgSx4=";
17+
};
18+
19+
vendorHash = "sha256-WVskArdIieEof/GDlzEZbY4QDYfAQyP0+Le24q+Kfu0=";
20+
21+
subPackages = [ "cmd/vulnx/" ];
22+
23+
ldflags = [ "-s" ];
24+
25+
# Issue with updater and version check
26+
# nativeInstallCheckInputs = [ versionCheckHook ];
27+
# doInstallCheck = true;
28+
# versionCheckProgramArg = [ "version" ];
29+
30+
meta = {
31+
description = "Tool to work with CVEs";
32+
homepage = "https://github.com/projectdiscovery/vulnx";
33+
changelog = "https://github.com/projectdiscovery/vulnx/releases/tag/${finalAttrs.src.tag}";
34+
license = lib.licenses.mit;
35+
maintainers = with lib.maintainers; [ fab ];
36+
mainProgram = "vulnx";
37+
};
38+
})

pkgs/top-level/aliases.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ mapAliases {
575575
curl-impersonate-chrome = warnAlias "curl-impersonate-chrome has been renamed to curl-impersonate" curl-impersonate; # Added 2025-11-02
576576
curl-impersonate-ff = throw "curl-impersonate-ff has been removed because it is unmaintained upstream and has vulnerable dependencies. Use curl-impersonate instead."; # Added 2025-11-02
577577
curlHTTP3 = warnAlias "'curlHTTP3' has been removed, as 'curl' now has HTTP/3 support enabled by default" curl; # Added 2025-08-22
578+
cvemap = vulnx; # Added 2026-04-19
578579
cwe-client-cli = throw "cwe-client-cli has been removed because it is archived and has unclear licensing"; # Added 2026-01-10
579580
cyber = throw "cyber has been removed, as it does not build with supported Zig versions"; # Added 2025-08-09
580581
dale = throw "dale has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10

0 commit comments

Comments
 (0)