13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-7UbzE5VXycjo7KNpPe2oqwyZDT4Vk8rQZ6HXT1q9Cw4=";
25 lockFile = ./Cargo.lock;
27 "trust-dns-proto-0.20.4" = "sha256-+oAjyyTXbKir8e5kn8CUmQy5qmzQ47ryvBBdZtzj1TY=";
36 ++ lib.optionals (stdenv.hostPlatform.isAarch && stdenv.hostPlatform.isLinux) [
40 # only depends on openssl on aarch/arm linux
41 buildInputs = lib.optionals (stdenv.hostPlatform.isAarch && stdenv.hostPlatform.isLinux) [
45 env = lib.optionalAttrs (stdenv.hostPlatform.isAarch && stdenv.hostPlatform.isLinux) {
46 OPENSSL_NO_VENDOR = true;
50 installManPage unimap.1
51 wrapProgram $out/bin/unimap \
52 --prefix PATH : ${lib.makeBinPath [ nmap ]}
56 description = "Scan only once by IP address and reduce scan times with Nmap for large amounts of data";
57 homepage = "https://github.com/Edu4rdSHL/unimap";
58 changelog = "https://github.com/Edu4rdSHL/unimap/releases/tag/${src.rev}";
59 license = licenses.gpl3Plus;
60 maintainers = with maintainers; [ figsoda ];
61 mainProgram = "unimap";