2009-06-18 14:51:51 +02: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 21:16:00 +01:00
|
|
|
mkdir -p $out
|
2009-06-18 14:51:51 +02:00
|
|
|
cp -R * $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "PMD scans Java source code and looks for potential problems." ;
|
|
|
|
homepage = http://pmd.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|