421e413507
svn path=/nixpkgs/trunk/; revision=10854
20 lines
417 B
Nix
20 lines
417 B
Nix
{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 = ''
|
|
ensureDir $out
|
|
cp -prd bin lib plugin doc $out/
|
|
rm $out/bin/*.bat
|
|
'';
|
|
}
|