12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-7UbzE5VXycjo7KNpPe2oqwyZDT4Vk8rQZ6HXT1q9Cw4=";
24 lockFile = ./Cargo.lock;
26 "trust-dns-proto-0.20.4" = "sha256-+oAjyyTXbKir8e5kn8CUmQy5qmzQ47ryvBBdZtzj1TY=";
33 ] ++ lib.optionals (stdenv.hostPlatform.isAarch && stdenv.isLinux) [
37 # only depends on openssl on aarch/arm linux
38 buildInputs = lib.optionals (stdenv.hostPlatform.isAarch && stdenv.isLinux) [
42 env = lib.optionalAttrs (stdenv.hostPlatform.isAarch && stdenv.isLinux) {
43 OPENSSL_NO_VENDOR = true;
47 installManPage unimap.1
48 wrapProgram $out/bin/unimap \
49 --prefix PATH : ${lib.makeBinPath [ nmap ]}
53 description = "Scan only once by IP address and reduce scan times with Nmap for large amounts of data";
54 homepage = "https://github.com/Edu4rdSHL/unimap";
55 changelog = "https://github.com/Edu4rdSHL/unimap/releases/tag/${src.rev}";
56 license = licenses.gpl3Plus;
57 maintainers = with maintainers; [ figsoda ];
58 mainProgram = "unimap";