blob: 2adaaf3c0317295da660df0a73da8bcf68944d3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "findbugs-2.0.3";
src = fetchurl {
url = mirror://sourceforge/findbugs/findbugs-2.0.3.tar.gz;
sha256 = "17s93vszc5s2b7pwi0yk8d6w54gandxrr7vflhzmpbl6sxj2mfjr";
};
buildPhase = ''
substituteInPlace bin/findbugs --replace /bin/pwd pwd
'';
installPhase = ''
mkdir -p $out
cp -prd bin lib plugin doc $out/
rm $out/bin/*.bat
'';
meta = {
description = "A static analysis tool to find bugs in Java programs automatically";
homepage = http://findbugs.sourceforge.net/;
};
}
|