2019-10-11 12:29:54 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, capstone, bison, flex }:
|
2012-08-09 16:58:51 +00:00
|
|
|
|
2019-10-11 12:29:54 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "boomerang";
|
2019-10-11 12:29:19 +00:00
|
|
|
version = "0.5.1";
|
2012-08-09 16:58:51 +00:00
|
|
|
|
2018-01-18 17:49:29 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-07-15 17:00:17 +00:00
|
|
|
owner = "BoomerangDecompiler";
|
|
|
|
repo = pname;
|
2019-10-24 06:03:20 +00:00
|
|
|
rev = "v${version}";
|
2019-10-11 12:29:19 +00:00
|
|
|
sha256 = "046ba4km8c31kbnllx05nbqhjmk7bpi56d3n8md8bsr98nj21a2j";
|
2013-08-26 20:34:25 +00:00
|
|
|
};
|
2012-08-09 16:58:51 +00:00
|
|
|
|
2019-07-15 17:00:17 +00:00
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
buildInputs = [ qtbase capstone ];
|
2018-01-18 17:49:29 +00:00
|
|
|
|
2013-08-26 20:34:25 +00:00
|
|
|
enableParallelBuilding = true;
|
2012-08-09 16:58:51 +00:00
|
|
|
|
2019-10-11 12:29:54 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/BoomerangDecompiler/boomerang;
|
2018-01-18 17:49:29 +00:00
|
|
|
license = licenses.bsd3;
|
2012-08-09 16:58:51 +00:00
|
|
|
description = "A general, open source, retargetable decompiler";
|
2018-01-18 17:49:29 +00:00
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
2012-08-09 16:58:51 +00:00
|
|
|
};
|
|
|
|
}
|