depot/third_party/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

38 lines
888 B
Nix

{ lib
, stdenv
, fetchgit
, cmake
, extra-cmake-modules
, wrapQtAppsHook
, kitemmodels
, libiberty
, libelf
, libdwarf
, libopcodes
}:
stdenv.mkDerivation rec {
pname = "elf-dissector";
version = "unstable-2023-06-06";
src = fetchgit {
url = "https://invent.kde.org/sdk/elf-dissector.git";
rev = "de2e80438176b4b513150805238f3333f660718c";
hash = "sha256-2yHPVPu6cncXhFCJvrSodcRFVAxj4vn+e99WhtiZniM=";
};
patches = [
./fix_build_for_src_lib_disassembler_disassembler.diff
];
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
buildInputs = [ kitemmodels libiberty libelf libdwarf libopcodes ];
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 ];
};
}