2022-11-26 23:30:25 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, wrapQtAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pe-bear";
|
2024-01-21 23:04:10 +01:00
|
|
|
version = "0.6.7.3";
|
2022-11-26 23:30:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hasherezade";
|
|
|
|
repo = "pe-bear";
|
|
|
|
rev = "v${version}";
|
2024-01-21 23:04:10 +01:00
|
|
|
sha256 = "sha256-We3XxSsGL1mTK5DgI2wgRm7OaziI/cZRiLd+qrvZ7SE=";
|
2022-11-26 23:30:25 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|