about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorJulian Stecklina <js@alien8.de>2022-11-26 23:30:25 +0100
committerJulian Stecklina <js@alien8.de>2022-11-27 19:20:00 +0100
commit9ee630a93e2b226daaea17b454fba0069208826e (patch)
treebb89bcace61896898948e1bd2239ffcf501e77bf /pkgs/applications/misc
parentb863103eaff9d092602963838e9c22a45bb8a30d (diff)
pe-bear: init at 0.6.1
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/pe-bear/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/applications/misc/pe-bear/default.nix b/pkgs/applications/misc/pe-bear/default.nix
new file mode 100644
index 0000000000000..5dd8fac6de8b1
--- /dev/null
+++ b/pkgs/applications/misc/pe-bear/default.nix
@@ -0,0 +1,48 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, qtbase
+, wrapQtAppsHook
+}:
+
+stdenv.mkDerivation rec {
+  pname = "pe-bear";
+  version = "0.6.1";
+
+  src = fetchFromGitHub {
+    owner = "hasherezade";
+    repo = "pe-bear";
+    rev = "v${version}";
+    sha256 = "jzgsjqic5rBsyuwJW9T44rKM8rKDce564VAogDvsLho=";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [
+    cmake
+    wrapQtAppsHook
+  ];
+
+  buildInputs = [
+    qtbase
+  ];
+
+  meta = with lib; {
+    description = "Portable Executable reversing tool with a friendly GUI";
+    homepage = "https://hshrzd.wordpress.com/pe-bear/";
+
+    license = [
+      # PE-Bear
+      licenses.gpl2Only
+
+      # Vendored capstone
+      licenses.bsd3
+
+      # Vendored bearparser
+      licenses.bsd2
+    ];
+
+    maintainers = with maintainers; [ blitz ];
+    platforms = platforms.linux;
+  };
+}