nixpkgs/pkgs/development/tools/analysis/pmd/default.nix

26 lines
531 B
Nix
Raw Normal View History

{stdenv, fetchurl, unzip}:
2015-03-12 21:19:03 +01:00
stdenv.mkDerivation rec {
name = "pmd-${version}";
version = "6.3.0";
2015-03-12 21:19:03 +01:00
buildInputs = [ unzip ];
src = fetchurl {
2015-03-12 21:19:03 +01:00
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "09x6mpqz4z583lvliipkmvlv3qmmwi7zjzgfjhwyp27faf2pz1ym";
};
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = {
description = "Scans Java source code and looks for potential problems";
homepage = http://pmd.sourceforge.net/;
platforms = stdenv.lib.platforms.unix;
};
}