1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/tools/analysis/radare2-cutter/default.nix
2018-04-13 10:09:48 +01:00

31 lines
768 B
Nix

{ stdenv, fetchFromGitHub, fetchpatch, qmake, pkgconfig, qtbase, qtsvg, radare2 }:
stdenv.mkDerivation rec {
name = "radare2-cutter-${version}";
version = "1.3";
src = fetchFromGitHub {
owner = "radareorg";
repo = "cutter";
rev = "v${version}";
sha256 = "1z76yz2i9k8mxjk85k2agdj941szdbl2gi66p3dh50878zqavfrr";
};
postUnpack = "export sourceRoot=$sourceRoot/src";
patchFlags = [ "-p2" ];
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ qtbase qtsvg radare2 ];
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 ];
};
}