From e68494d4713897d46ad80caa92dd4e1549d7a075 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 21 Jul 2024 20:15:11 +0200 Subject: [PATCH] nmap: reformat --- pkgs/tools/security/nmap/default.nix | 34 ++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/security/nmap/default.nix b/pkgs/tools/security/nmap/default.nix index 503a537fbd52..0c1e33219f22 100644 --- a/pkgs/tools/security/nmap/default.nix +++ b/pkgs/tools/security/nmap/default.nix @@ -1,6 +1,14 @@ -{ lib, stdenv, fetchurl, libpcap, pkg-config, openssl, lua5_4 -, pcre2, libssh2 -, withLua ? true +{ + lib, + stdenv, + fetchurl, + libpcap, + pkg-config, + openssl, + lua5_4, + pcre2, + libssh2, + withLua ? true, }: stdenv.mkDerivation rec { @@ -37,17 +45,25 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ pcre2 libssh2 libpcap openssl ]; + buildInputs = [ + pcre2 + libssh2 + libpcap + openssl + ]; enableParallelBuilding = true; doCheck = false; # fails 3 tests, probably needs the net - meta = with lib; { + meta = { description = "Free and open source utility for network discovery and security auditing"; - homepage = "http://www.nmap.org"; - license = licenses.gpl2Only; - platforms = platforms.all; - maintainers = with maintainers; [ thoughtpolice fpletz ]; + homepage = "http://www.nmap.org"; + license = lib.licenses.gpl2Only; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ + thoughtpolice + fpletz + ]; }; }