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