aboutsummaryrefslogtreecommitdiff
path: root/packages/binaryninja.nix
blob: 114e0f0934ed74fde2f69deb9cadc92637f97dfe (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
32
{ pkgs, lib }:

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