mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
50 lines
868 B
Nix
50 lines
868 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qtbase
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pe-bear";
|
|
version = "0.6.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hasherezade";
|
|
repo = "pe-bear";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-We3XxSsGL1mTK5DgI2wgRm7OaziI/cZRiLd+qrvZ7SE=";
|
|
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;
|
|
};
|
|
}
|