diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2009-06-18 12:51:51 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2009-06-18 12:51:51 +0000 |
commit | c1c7dce5d599028d76552ca0bdb1170ab9630639 (patch) | |
tree | 9431763a4763cb46972edd30ac204eeb4a4f18f6 /pkgs/development/tools/analysis | |
parent | e15e850360ae2d9b442dcc313366082075e267cd (diff) |
* added checkstyle, pmd, jdepends.
* changed version of ant to 1.7 svn path=/nixpkgs/trunk/; revision=15994
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r-- | pkgs/development/tools/analysis/checkstyle/default.nix | 22 | ||||
-rw-r--r-- | pkgs/development/tools/analysis/jdepend/default.nix | 24 | ||||
-rw-r--r-- | pkgs/development/tools/analysis/pmd/default.nix | 22 |
3 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/checkstyle/default.nix b/pkgs/development/tools/analysis/checkstyle/default.nix new file mode 100644 index 0000000000000..17fc8de8c95ca --- /dev/null +++ b/pkgs/development/tools/analysis/checkstyle/default.nix @@ -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/; + }; +} + diff --git a/pkgs/development/tools/analysis/jdepend/default.nix b/pkgs/development/tools/analysis/jdepend/default.nix new file mode 100644 index 0000000000000..6973fbad9e7c3 --- /dev/null +++ b/pkgs/development/tools/analysis/jdepend/default.nix @@ -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 ; + }; +} + + + diff --git a/pkgs/development/tools/analysis/pmd/default.nix b/pkgs/development/tools/analysis/pmd/default.nix new file mode 100644 index 0000000000000..7f50431c8d9a7 --- /dev/null +++ b/pkgs/development/tools/analysis/pmd/default.nix @@ -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/; + }; +} + |