nmapsi4: drop
An alpha for qt6 exists: https://github.com/nmapsi4/nmapsi4/releases/tag/v0.6-alpha1 However, this now uses polkit for elevation. Packaging this new version likely requires expertise from someone actually using the package.
This commit is contained in:
@@ -1,67 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
dnsutils,
|
||||
nmap,
|
||||
libsForQt5,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nmapsi4";
|
||||
version = "0.5-alpha2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nmapsi4";
|
||||
repo = "nmapsi4";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-q3XfwJ4TGK4E58haN0Q0xRH4GDpKD8VZzyxHe/VwBqY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
libsForQt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = with libsForQt5; [
|
||||
qtbase
|
||||
qtscript
|
||||
qtwebengine
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/platform/digmanager.cpp \
|
||||
--replace '"dig"' '"${dnsutils}/bin/dig"'
|
||||
substituteInPlace src/platform/discover.cpp \
|
||||
--replace '"nping"' '"${nmap}/bin/nping"'
|
||||
for f in \
|
||||
src/platform/monitor/monitor.cpp \
|
||||
src/platform/nsemanager.cpp ; do
|
||||
|
||||
substituteInPlace $f \
|
||||
--replace '"nmap"' '"${nmap}/bin/nmap"'
|
||||
done
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/share/applications/kde4/*.desktop $out/share/applications
|
||||
rmdir $out/share/applications/kde4
|
||||
|
||||
for f in $out/share/applications/* ; do
|
||||
substituteInPlace $f \
|
||||
--replace Qt4 Qt5
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Qt frontend for nmap";
|
||||
mainProgram = "nmapsi4";
|
||||
changelog = "https://github.com/nmapsi4/nmapsi4/releases/tag/${src.rev}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ peterhoeg ];
|
||||
inherit (src.meta) homepage;
|
||||
};
|
||||
}
|
||||
@@ -1505,6 +1505,7 @@ mapAliases {
|
||||
nixosTest = throw "'nixosTest' has been renamed to/replaced by 'testers.nixosTest'"; # Converted to throw 2025-10-27
|
||||
nixStable = throw "'nixStable' has been renamed to/replaced by 'nixVersions.stable'"; # Converted to throw 2025-10-27
|
||||
nm-tray = throw "'nm-tray' has been removed, as it only works with Plasma 5"; # Added 2025-08-30
|
||||
nmapsi4 = throw "'nmapsi4' has been removed as it depended on qt5 webengine, which is EOL"; # Added 2026-04-25
|
||||
node2nix = throw "node2nix has been removed because it was only used to maintain the now-removed nodePackages set. Use the newer builders in nixpkgs instead, such as buildNpmPackage"; # Added 2026-03-03
|
||||
nodePackages = throw "nodePackages has been removed. Many packages are now available at the top level (e.g. `pkgs.package-name`). Check on https://search.nixos.org to see if the package is still available."; # Added 2026-03-03
|
||||
nodePackages_latest = throw "nodePackages has been removed. Many packages are now available at the top level (e.g. `pkgs.package-name`). Check on https://search.nixos.org to see if the package is still available."; # Added 2026-03-03
|
||||
|
||||
Reference in New Issue
Block a user