nixpkgs/pkgs/development/tools/boomerang/default.nix
2020-04-10 17:54:53 +01:00

25 lines
680 B
Nix

{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, capstone, bison, flex }:
mkDerivation rec {
pname = "boomerang";
version = "0.5.2";
src = fetchFromGitHub {
owner = "BoomerangDecompiler";
repo = pname;
rev = "v${version}";
sha256 = "0xncdp0z8ry4lkzmvbj5d7hlzikivghpwicgywlv47spgh8ny0ix";
};
nativeBuildInputs = [ cmake bison flex ];
buildInputs = [ qtbase capstone ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/BoomerangDecompiler/boomerang";
license = licenses.bsd3;
description = "A general, open source, retargetable decompiler";
maintainers = with maintainers; [ dtzWill ];
};
}