tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / applications / misc / elf-dissector / default.nix
blob205defcfb693bdb38a172a59d6dcff95a6376a96
2   lib,
3   stdenv,
4   fetchFromGitLab,
5   cmake,
6   elfutils,
7   extra-cmake-modules,
8   kitemmodels,
9   libiberty,
10   libdwarf,
11   libopcodes,
12   wrapQtAppsHook,
15 stdenv.mkDerivation {
16   pname = "elf-dissector";
17   version = "unstable-2023-12-24";
19   src = fetchFromGitLab {
20     domain = "invent.kde.org";
21     owner = "sdk";
22     repo = "elf-dissector";
23     rev = "613538bd1d87ce72d5115646551a49cf7ff2ee34";
24     hash = "sha256-fQFGFw8nZHMs8J1W2CcHAJCdcvaY2l2/CySyBSsKpyE=";
25   };
27   patches = [
28     ./fix_build_for_src_lib_disassembler_disassembler.diff
29   ];
31   nativeBuildInputs = [
32     cmake
33     extra-cmake-modules
34     wrapQtAppsHook
35   ];
37   buildInputs = [
38     kitemmodels
39     libiberty
40     elfutils
41     libopcodes
42     libdwarf
43   ];
45   meta = with lib; {
46     homepage = "https://invent.kde.org/sdk/elf-dissector";
47     description = "Tools for inspecting, analyzing and optimizing ELF files";
48     license = licenses.gpl2;
49     maintainers = with maintainers; [
50       ehmry
51       philiptaron
52     ];
53   };