2009-06-18 14:51:51 +02:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-09-11 13:34:26 +02:00
|
|
|
name = "pmd-4.2.6";
|
2009-06-18 14:51:51 +02:00
|
|
|
buildInputs = [unzip] ;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-11 13:34:26 +02:00
|
|
|
url = mirror://sourceforge/pmd/pmd-bin-4.2.6.zip ;
|
|
|
|
sha256 = "0gg1px2jmqn09f5vjzgy9gck37qjm9p2d7gf9grsmrr2xncbipp8";
|
2009-06-18 14:51:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out
|
2009-06-18 14:51:51 +02:00
|
|
|
cp -R * $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Scans Java source code and looks for potential problems";
|
2009-06-18 14:51:51 +02:00
|
|
|
homepage = http://pmd.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|