nmapsi4: reformat

This commit is contained in:
Franz Pletz 2024-07-21 20:29:25 +02:00
parent a3140b5bc8
commit 598c87675a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,10 +1,12 @@
{ lib, stdenv {
, fetchFromGitHub lib,
, cmake stdenv,
, pkg-config fetchFromGitHub,
, dnsutils cmake,
, nmap pkg-config,
, libsForQt5 dnsutils,
nmap,
libsForQt5,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -18,9 +20,17 @@ stdenv.mkDerivation rec {
sha256 = "sha256-q3XfwJ4TGK4E58haN0Q0xRH4GDpKD8VZzyxHe/VwBqY="; sha256 = "sha256-q3XfwJ4TGK4E58haN0Q0xRH4GDpKD8VZzyxHe/VwBqY=";
}; };
nativeBuildInputs = [ cmake pkg-config libsForQt5.wrapQtAppsHook ]; nativeBuildInputs = [
cmake
pkg-config
libsForQt5.wrapQtAppsHook
];
buildInputs = with libsForQt5; [ qtbase qtscript qtwebengine ]; buildInputs = with libsForQt5; [
qtbase
qtscript
qtwebengine
];
postPatch = '' postPatch = ''
substituteInPlace src/platform/digmanager.cpp \ substituteInPlace src/platform/digmanager.cpp \
@ -48,11 +58,11 @@ stdenv.mkDerivation rec {
done done
''; '';
meta = with lib; { meta = {
description = "Qt frontend for nmap"; description = "Qt frontend for nmap";
mainProgram = "nmapsi4"; mainProgram = "nmapsi4";
license = licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
inherit (src.meta) homepage; inherit (src.meta) homepage;
}; };
} }