nixpkgs/pkgs/development/tools/analysis/radare2-cutter/default.nix
2018-07-10 16:53:00 -05:00

36 lines
814 B
Nix

{ stdenv, fetchFromGitHub
# nativeBuildInputs
, qmake, pkgconfig
# Qt
, qtbase, qtsvg, qtwebengine
# buildInputs
, radare2
, python3 }:
stdenv.mkDerivation rec {
name = "radare2-cutter-${version}";
version = "1.5";
src = fetchFromGitHub {
owner = "radareorg";
repo = "cutter";
rev = "v${version}";
sha256 = "0xwls8jhhigdkwyq3nf9xwcz4inm5smwinkyliwmfzvfflbbci5c";
};
postUnpack = "export sourceRoot=$sourceRoot/src";
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ qtbase qtsvg qtwebengine radare2 python3 ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A Qt and C++ GUI for radare2 reverse engineering framework";
homepage = src.meta.homepage;
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
};
}