51 lines
872 B
Nix
51 lines
872 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
stdenv,
|
||
|
|
fetchFromGitHub,
|
||
|
|
cmake,
|
||
|
|
qtbase,
|
||
|
|
wrapQtAppsHook,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation rec {
|
||
|
|
pname = "pe-bear";
|
||
|
|
version = "0.7.1";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "hasherezade";
|
||
|
|
repo = "pe-bear";
|
||
|
|
rev = "v${version}";
|
||
|
|
hash = "sha256-jWRO0vO601IijFo7nu0SMF8inEXWLzv+Ni1nlJfGqhQ=";
|
||
|
|
fetchSubmodules = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
cmake
|
||
|
|
wrapQtAppsHook
|
||
|
|
];
|
||
|
|
|
||
|
|
buildInputs = [
|
||
|
|
qtbase
|
||
|
|
];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "Portable Executable reversing tool with a friendly GUI";
|
||
|
|
mainProgram = "PE-bear";
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
}
|