2008-02-25 14:55:30 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "findbugs-1.3.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/findbugs/findbugs-1.3.2.tar.gz;
|
|
|
|
sha256 = "0mbwxzz5m9vizxlbg0i6rh5ywywiiw9zpabq5li7map43768apvr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
substituteInPlace bin/findbugs --replace /bin/pwd pwd
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out
|
2008-02-25 14:55:30 +00:00
|
|
|
cp -prd bin lib plugin doc $out/
|
|
|
|
rm $out/bin/*.bat
|
|
|
|
'';
|
2008-02-26 15:24:33 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A static analysis tool to find bugs in Java programs automatically";
|
|
|
|
homepage = http://findbugs.sourceforge.net/;
|
|
|
|
};
|
2008-02-25 14:55:30 +00:00
|
|
|
}
|