nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

22 lines
456 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 = ''
mkdir -p $out
cp -R * $out
'';
meta = {
description = "PMD scans Java source code and looks for potential problems." ;
homepage = http://pmd.sourceforge.net/;
};
}