nixpkgs-suyu/pkgs/development/tools/analysis/pmd/default.nix
Rob Vermaas c1c7dce5d5 * added checkstyle, pmd, jdepends.
* changed version of ant to 1.7

svn path=/nixpkgs/trunk/; revision=15994
2009-06-18 12:51:51 +00:00

22 lines
457 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "pmd-4.2.5";
buildInputs = [unzip] ;
src = fetchurl {
url = mirror://sourceforge/pmd/pmd-bin-4.2.5.zip ;
sha256 = "07cb18mv7rplksy3iw3rxyjaav4m7kcjqfhzv20ki73hfkqxa85c";
};
installPhase = ''
ensureDir $out
cp -R * $out
'';
meta = {
description = "PMD scans Java source code and looks for potential problems." ;
homepage = http://pmd.sourceforge.net/;
};
}