3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/boomerang/default.nix
aszlig d10772ec8a boomerang: Fix prefix in dlopen().
We already have the correct library dir in our search path, so we don't need to
prepend lib/ again.
2012-08-10 15:02:19 +02:00

31 lines
777 B
Nix

{ stdenv, fetchgit, cmake, boehmgc, expat, cppunit }:
stdenv.mkDerivation {
name = "boomerang-1.0pre";
buildInputs = [ cmake boehmgc expat cppunit ];
installPhase = ''
for loaderfile in loader/*.so
do
install -vD "$loaderfile" "$out/lib/$(basename "$loaderfile")"
done
install -vD boomerang "$out/bin/boomerang"
'';
patches = [ ./dlopen_path.patch ];
src = fetchgit {
url = "git://github.com/aszlig/boomerang.git";
rev = "d0b147a5dfc915a5fa8fe6c517e66a049a37bf22";
sha256 = "6cfd95a3539ff45c18b17de76407568b0d0c17fde4e45dda54486c7eac113969";
};
meta = {
homepage = http://boomerang.sourceforge.net/;
license = stdenv.lib.licenses.bsd3;
description = "A general, open source, retargetable decompiler";
};
}