mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
nmapsi4: reformat
This commit is contained in:
parent
a3140b5bc8
commit
598c87675a
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user