083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
22 lines
450 B
Nix
22 lines
450 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 = "Scans Java source code and looks for potential problems";
|
|
homepage = http://pmd.sourceforge.net/;
|
|
};
|
|
}
|
|
|