nixpkgs/pkgs/applications/misc/pe-bear/default.nix
2023-03-04 16:29:50 +00:00

48 lines
837 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "pe-bear";
version = "0.6.5";
src = fetchFromGitHub {
owner = "hasherezade";
repo = "pe-bear";
rev = "v${version}";
sha256 = "sha256-qFEfrXX2Rpmo4eF1Z/dKBN/NxMovK3mDfQPxYp85eB8=";
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;
};
}