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