mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
28 lines
714 B
Nix
28 lines
714 B
Nix
{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 = "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.
|
|
'';
|
|
homepage = http://checkstyle.sourceforge.net/;
|
|
};
|
|
}
|
|
|