about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/checkstyle/default.nix
blob: 09656dc520a8595f18d2e8dd4df0b0b3fe5d1b5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{stdenv, fetchurl, unzip}:

stdenv.mkDerivation {
  name = "checkstyle-5.0";
  buildInputs = [unzip] ; 

  src = fetchurl {
    url = mirror://sourceforge/checkstyle/checkstyle-5.0.zip ;
    sha256 = "0972afcxjniz64hlnc89ddnd1d0mcd5hb1sd7lpw5k52h39683nh";
  };

  installPhase = ''
    mkdir -p $out/checkstyle
    cp -R * $out/checkstyle
  '';

  meta = {
    description = "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." ;
    homepage = http://checkstyle.sourceforge.net/;
  };
}