aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix
blob: 36ceb49d5c4be9d662c1e24fc65c1980274dc7c9 (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
{ mkDerivation, fetchgit, lib, cmake, extra-cmake-modules, kitemmodels
, libiberty, libelf, libdwarf, libopcodes }:

mkDerivation rec {
  pname = "elf-dissector";
  version = "unstable-2020-11-14";

  src = fetchgit {
    url = "https://invent.kde.org/sdk/elf-dissector.git";
    rev = "d1700e76e3f60aff0a2a9fb63bc001251d2be522";
    sha256 = "1h1xr3ag1sbf005drcx8g8dc5mk7fb2ybs73swrld7clcawhxnk8";
  };

  nativeBuildInputs = [ cmake extra-cmake-modules ];

  buildInputs = [ kitemmodels libiberty libelf libdwarf libopcodes ];

  enableParallelBuilding = true;

  meta = with lib; {
    homepage = "https://invent.kde.org/sdk/elf-dissector";
    description = "Tools for inspecting, analyzing and optimizing ELF files";
    license = licenses.gpl2;
    maintainers = with maintainers; [ ehmry ];
  };
}