3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/pmd/default.nix

23 lines
450 B
Nix
Raw Normal View History

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
2014-09-11 12:34:26 +01:00
name = "pmd-4.2.6";
buildInputs = [unzip] ;
src = fetchurl {
2014-09-11 12:34:26 +01:00
url = mirror://sourceforge/pmd/pmd-bin-4.2.6.zip ;
sha256 = "0gg1px2jmqn09f5vjzgy9gck37qjm9p2d7gf9grsmrr2xncbipp8";
};
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = {
description = "Scans Java source code and looks for potential problems";
homepage = http://pmd.sourceforge.net/;
};
}