insulator2: clean up dependencies and fix structure of $out (#407804)

authored by Aleksana and committed by GitHub b4fe3a21 d1403af9

+27 -30
+27 -30
pkgs/by-name/in/insulator2/package.nix
··· 1 1 { 2 2 lib, 3 - cmake, 4 - dbus, 3 + stdenv, 4 + 5 5 fetchFromGitHub, 6 6 fetchYarnDeps, 7 - openssl, 7 + 8 + cargo, 9 + cargo-tauri_1, 10 + cmake, 11 + jq, 12 + moreutils, 13 + nodejs-slim, 8 14 pkg-config, 15 + rustc, 16 + rustPlatform, 17 + yarnConfigHook, 18 + 19 + cyrus_sasl, 9 20 freetype, 10 21 libsoup_2_4, 11 - gtk3, 22 + openssl, 12 23 webkitgtk_4_0, 13 - perl, 14 - cyrus_sasl, 15 - stdenv, 16 - yarnConfigHook, 17 - nodejs-slim, 18 - cargo-tauri_1, 19 - cargo, 20 - rustPlatform, 21 - rustc, 22 - jq, 23 - moreutils, 24 24 }: 25 25 26 26 stdenv.mkDerivation rec { ··· 60 60 cargoRoot = "backend/"; 61 61 buildAndTestSubdir = cargoRoot; 62 62 63 + strictDeps = true; 64 + 63 65 dontUseCmakeConfigure = true; 64 66 65 - preInstall = '' 66 - mkdir -p "$out" 67 - ''; 68 - 69 67 nativeBuildInputs = [ 68 + cargo 69 + cargo-tauri_1.hook 70 70 cmake 71 + jq 72 + moreutils # for sponge 73 + nodejs-slim 71 74 pkg-config 72 - perl 75 + rustc 73 76 rustPlatform.cargoSetupHook 74 - cargo 75 - rustc 76 - cargo-tauri_1.hook 77 77 yarnConfigHook 78 - nodejs-slim 79 - cyrus_sasl 80 - jq 81 - moreutils # for sponge 82 78 ]; 83 79 84 80 buildInputs = [ 85 - dbus 86 - openssl.out 81 + cyrus_sasl 87 82 freetype 88 83 libsoup_2_4 89 - gtk3 84 + openssl 90 85 webkitgtk_4_0 91 86 ]; 87 + 88 + env.OPENSSL_NO_VENDOR = 1; 92 89 93 90 meta = with lib; { 94 91 description = "Client UI to inspect Kafka topics, consume, produce and much more";