Unverified Commit 302445b1 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

vulnx: rename, 1.0.0 -> 2.0.1 (#511572)

parents 6a7770fc 580e211e
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -2,36 +2,41 @@
  lib,
  buildGoModule,
  fetchFromGitHub,
  versionCheckHook,
}:

buildGoModule (finalAttrs: {
  pname = "cvemap";
  version = "1.0.0";
  pname = "vulnx";
  version = "2.0.1";

  src = fetchFromGitHub {
    owner = "projectdiscovery";
    repo = "cvemap";
    repo = "vulnx";
    tag = "v${finalAttrs.version}";
    hash = "sha256-pzCLzSsAaoiRrTBENnmyqaSyDnHQdDAcTNyaxpc7mt4=";
    hash = "sha256-HejAK/KXpQ9HouA3JpX7MoMzMUoMmKX7eEKwMGfgSx4=";
  };

  vendorHash = "sha256-4GW1mgwOXbdiDmQoN1yxVOJC8mXpqkKliabWZzvOff4=";
  vendorHash = "sha256-WVskArdIieEof/GDlzEZbY4QDYfAQyP0+Le24q+Kfu0=";

  subPackages = [
    "cmd/cvemap/"
  ];
  subPackages = [ "cmd/vulnx/" ];

  ldflags = [
    "-s"
    "-w"
  ];
  ldflags = [ "-s" ];

  __structuredAttrs = true;

  strictDeps = true;

  # Issue with updater and version check
  # nativeInstallCheckInputs = [ versionCheckHook ];
  # doInstallCheck = true;
  # versionCheckProgramArg = [ "version" ];

  meta = {
    description = "Tool to work with CVEs";
    homepage = "https://github.com/projectdiscovery/cvemap";
    changelog = "https://github.com/projectdiscovery/cvemap/releases/tag/v${finalAttrs.version}";
    homepage = "https://github.com/projectdiscovery/vulnx";
    changelog = "https://github.com/projectdiscovery/vulnx/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "cvemap";
    mainProgram = "vulnx";
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -575,6 +575,7 @@ mapAliases {
  curl-impersonate-chrome = warnAlias "curl-impersonate-chrome has been renamed to curl-impersonate" curl-impersonate; # Added 2025-11-02
  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
  curlHTTP3 = warnAlias "'curlHTTP3' has been removed, as 'curl' now has HTTP/3 support enabled by default" curl; # Added 2025-08-22
  cvemap = vulnx; # Added 2026-04-19
  cwe-client-cli = throw "cwe-client-cli has been removed because it is archived and has unclear licensing"; # Added 2026-01-10
  cyber = throw "cyber has been removed, as it does not build with supported Zig versions"; # Added 2025-08-09
  dale = throw "dale has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10