Merge pull request #43554 from dtzWill/update/r2-cutter-1.6

radare2-cutter: 1.5 -> 1.6
This commit is contained in:
Jörg Thalheim 2018-07-15 09:41:09 -04:00 committed by GitHub
commit e827b00dbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,16 +7,26 @@
, radare2
, python3 }:
let
r2 = radare2.overrideDerivation (o: {
name = "radare2-for-cutter-${version}";
src = fetchFromGitHub {
owner = "radare";
repo = "radare2";
rev = "a98557bfbfa96e9f677a8c779ee78085ee5a23bb";
sha256 = "04jl1lq3dqljb6vagzlym4wc867ayhx1v52f75rkfz0iybsh249r";
};
});
version = "1.6";
in
stdenv.mkDerivation rec {
name = "radare2-cutter-${version}";
version = "1.5";
src = fetchFromGitHub {
owner = "radareorg";
repo = "cutter";
rev = "v${version}";
sha256 = "0xwls8jhhigdkwyq3nf9xwcz4inm5smwinkyliwmfzvfflbbci5c";
sha256 = "1ps52yf94yfnws3nn1iiwch2jy33dyvi7j47xkmh0m5fpdqi5xk7";
};
postUnpack = "export sourceRoot=$sourceRoot/src";
@ -31,7 +41,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ qtbase qtsvg qtwebengine radare2 python3 ];
buildInputs = [ qtbase qtsvg qtwebengine r2 python3 ];
qmakeFlags = [
"CONFIG+=link_pkgconfig"