nixpkgs/pkgs/applications/misc/pe-bear/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
830 B
Nix
Raw Normal View History

2022-11-26 22:30:25 +00:00
{ 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;
};
}