nixpkgs/pkgs/development/tools/boomerang/default.nix

26 lines
678 B
Nix
Raw Normal View History

2019-10-11 12:29:54 +00:00
{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, capstone, bison, flex }:
2019-10-11 12:29:54 +00:00
mkDerivation rec {
pname = "boomerang";
2019-10-11 12:29:19 +00:00
version = "0.5.1";
src = fetchFromGitHub {
owner = "BoomerangDecompiler";
repo = pname;
rev = "v${version}";
2019-10-11 12:29:19 +00:00
sha256 = "046ba4km8c31kbnllx05nbqhjmk7bpi56d3n8md8bsr98nj21a2j";
};
nativeBuildInputs = [ cmake bison flex ];
buildInputs = [ qtbase capstone ];
enableParallelBuilding = true;
2019-10-11 12:29:54 +00:00
meta = with lib; {
homepage = https://github.com/BoomerangDecompiler/boomerang;
license = licenses.bsd3;
description = "A general, open source, retargetable decompiler";
maintainers = with maintainers; [ dtzWill ];
};
}