aboutsummaryrefslogtreecommitdiff
path: root/packages/binaryninja.nix
blob: aaf2401255b4ff9673772972a9c875ea765d836a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ pkgs, lib }:

pkgs.buildFHSEnv {
  name = "binaryninja";
  targetPkgs = pkgs: with pkgs; [
    dbus
    fontconfig
    freetype
    libGL
    libxml2
    libxkbcommon
    (python312.withPackages(ps: with ps; [ pypresence z3-solver ]))
    xorg.libX11
    xorg.libxcb
    xorg.xcbutilimage
    xorg.xcbutilkeysyms
    xorg.xcbutilrenderutil
    xorg.xcbutilwm
    wayland
    zlib
    gdb
  ];
  runScript = pkgs.writeScript "binaryninja.sh" ''
    set -e
    exec "~/.local/opt/binaryninja/binaryninja"         # ! change this path if your installation is located somewhere else.
  '';
  meta = {
    description = "binaryninja";
    platforms = [ "x86_64-linux" ];
  };
}