aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix
new file mode 100644
index 000000000000..36ceb49d5c4b
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/applications/misc/elf-dissector/default.nix
@@ -0,0 +1,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 ];
+ };
+}