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