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
, cmake
, pkg-config
, dnsutils
, nmap
, libsForQt5
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
dnsutils,
nmap,
libsForQt5,
}:
stdenv.mkDerivation rec {
@ -18,9 +20,17 @@ stdenv.mkDerivation rec {
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 = ''
substituteInPlace src/platform/digmanager.cpp \
@ -48,11 +58,11 @@ stdenv.mkDerivation rec {
done
'';
meta = with lib; {
meta = {
description = "Qt frontend for nmap";
mainProgram = "nmapsi4";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ peterhoeg ];
inherit (src.meta) homepage;
};
}