mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 06:13:54 +00:00
36 lines
814 B
Nix
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 ];
|
|
};
|
|
}
|