2009-06-18 14:51:51 +02:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "checkstyle-5.0";
|
|
|
|
buildInputs = [unzip] ;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/checkstyle/checkstyle-5.0.zip ;
|
|
|
|
sha256 = "0972afcxjniz64hlnc89ddnd1d0mcd5hb1sd7lpw5k52h39683nh";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/checkstyle
|
2009-06-18 14:51:51 +02:00
|
|
|
cp -R * $out/checkstyle
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "Checks Java source against a coding standard";
|
|
|
|
longDescription = ''
|
|
|
|
checkstyle is a development tool to help programmers write Java code that
|
|
|
|
adheres to a coding standard. By default it supports the Sun Code
|
|
|
|
Conventions, but is highly configurable.
|
|
|
|
'';
|
2009-06-18 14:51:51 +02:00
|
|
|
homepage = http://checkstyle.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|