Revert "radare2-cutter: 1.1 -> 1.2"

This reverts commit 664deabf8f.

reason: https://github.com/NixOS/nixpkgs/pull/36251#issuecomment-370167978
This commit is contained in:
Jörg Thalheim 2018-03-04 06:50:42 +00:00
parent 4a28710d4d
commit c16936c2a2

View File

@ -1,18 +1,39 @@
{ stdenv, fetchFromGitHub, fetchpatch, qmake, pkgconfig, qtbase, qtsvg, radare2 }:
stdenv.mkDerivation rec {
name = "radare2-cutter-${version}";
version = "1.2";
version = "1.1";
src = fetchFromGitHub {
owner = "radareorg";
repo = "cutter";
rev = "v${version}";
sha256 = "1ph8kvpai7kr7kcqfp0aagvrm098bbh9ygzg5fp8z8y51mwq898g";
sha256 = "02m5sf45n455hn34y7hrqanj830rc5xhz2ppp1z3mzbz0s515pfl";
};
postUnpack = "export sourceRoot=$sourceRoot/src";
patches = [
# Fixup version number :D
(fetchpatch {
url = "https://github.com/radareorg/cutter/commit/69506b64600df632afdca8b680baa7d946c78644.patch";
sha256 = "0ks3ixz8bycjcfi26bd0p6z7qaplhq00alw44hsfzpdm4bmr01x0";
})
(fetchpatch {
url = "https://github.com/radareorg/cutter/commit/8b52c66f4f0091cd9d97389b32aa519c2c602e2b.patch";
sha256 = "0wcdn35lx2943pfzm7mkg4sr82pm0qz3yxf74m8fxbd70s3w0gkm";
})
# case-insensitive filtering
(fetchpatch {
url = "https://github.com/radareorg/cutter/commit/0ebd34370bcaed00000168147572bb78106eeab1.patch";
sha256 = "0sc50jwhncfnd2i5mlyld4dbdzi2ws7nh4yglkhlap9l9h1jxn20";
})
];
patchFlags = [ "-p2" ];
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ qtbase qtsvg radare2 ];