2009-06-18 12:51:51 +00:00
|
|
|
{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 = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out
|
2009-06-18 12:51:51 +00:00
|
|
|
cp -R * $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Scans Java source code and looks for potential problems";
|
2009-06-18 12:51:51 +00:00
|
|
|
homepage = http://pmd.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|