mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* added checkstyle, pmd, jdepends.
* changed version of ant to 1.7 svn path=/nixpkgs/trunk/; revision=15994
This commit is contained in:
parent
e15e850360
commit
c1c7dce5d5
22
pkgs/development/tools/analysis/checkstyle/default.nix
Normal file
22
pkgs/development/tools/analysis/checkstyle/default.nix
Normal file
@ -0,0 +1,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 = ''
|
||||
ensureDir $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/;
|
||||
};
|
||||
}
|
||||
|
24
pkgs/development/tools/analysis/jdepend/default.nix
Normal file
24
pkgs/development/tools/analysis/jdepend/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jdepend-2.9";
|
||||
buildInputs = [unzip] ;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.clarkware.com/software/jdepend-2.9.zip ;
|
||||
sha256 = "1915fk9w9mjv9i6hlkn2grv2kjqcgn4xa8278v66f1ix5wpfcb90";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out
|
||||
cp -R * $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Depend traverses Java class file directories and generates design quality metrics for each Java package." ;
|
||||
homepage = http://www.clarkware.com/software/JDepend.html ;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
22
pkgs/development/tools/analysis/pmd/default.nix
Normal file
22
pkgs/development/tools/analysis/pmd/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pmd-4.2.5";
|
||||
buildInputs = [unzip] ;
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/pmd/pmd-bin-4.2.5.zip ;
|
||||
sha256 = "07cb18mv7rplksy3iw3rxyjaav4m7kcjqfhzv20ki73hfkqxa85c";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out
|
||||
cp -R * $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "PMD scans Java source code and looks for potential problems." ;
|
||||
homepage = http://pmd.sourceforge.net/;
|
||||
};
|
||||
}
|
||||
|
@ -2518,6 +2518,18 @@ let
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
pmd = import ../development/tools/analysis/pmd {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
||||
jdepend = import ../development/tools/analysis/jdepend {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
||||
checkstyle = import ../development/tools/analysis/checkstyle {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
||||
flex = flex254a;
|
||||
|
||||
flex2535 = import ../development/tools/parsing/flex/flex-2.5.35.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user