forked from mirrors/nixpkgs
* Added Findbugs.
svn path=/nixpkgs/trunk/; revision=10854
This commit is contained in:
parent
23622f6cda
commit
421e413507
pkgs
20
pkgs/development/tools/analysis/findbugs/default.nix
Normal file
20
pkgs/development/tools/analysis/findbugs/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{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
|
||||||
|
'';
|
||||||
|
}
|
|
@ -1832,6 +1832,10 @@ rec {
|
||||||
inherit fetchurl stdenv rpm;
|
inherit fetchurl stdenv rpm;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
findbugs = import ../development/tools/analysis/findbugs {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
flex = flex254a;
|
flex = flex254a;
|
||||||
|
|
||||||
flex2534 = import ../development/tools/parsing/flex/flex-2.5.34.nix {
|
flex2534 = import ../development/tools/parsing/flex/flex-2.5.34.nix {
|
||||||
|
|
Loading…
Reference in a new issue