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
|
||||
, 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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user