about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2019-06-04 23:10:59 -0700
committerRenaud <c0bw3b@users.noreply.github.com>2019-06-05 08:10:59 +0200
commit97b23ec91dea8bfb098b66eb5ba48e325a727fd9 (patch)
tree2b6aaf5cbe6e63cb0908991878ecfde8d2f69a49 /pkgs/development/tools/analysis
parente283999204ef8b7c3c3e10e93da82bf39f06d1fa (diff)
downloadnixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.tar
nixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.tar.gz
nixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.tar.bz2
nixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.tar.lz
nixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.tar.xz
nixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.tar.zst
nixlib-97b23ec91dea8bfb098b66eb5ba48e325a727fd9.zip
pmd: 6.14.0 -> 6.15.0 (#62503)
* pmd: 6.14.0 -> 6.15.0

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pmd/versions

* pmd: cleanup
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r--pkgs/development/tools/analysis/pmd/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/development/tools/analysis/pmd/default.nix b/pkgs/development/tools/analysis/pmd/default.nix
index 5294bb46f18d..2ab9f12c7796 100644
--- a/pkgs/development/tools/analysis/pmd/default.nix
+++ b/pkgs/development/tools/analysis/pmd/default.nix
@@ -1,26 +1,28 @@
-{stdenv, fetchurl, unzip}:
+{ stdenv, fetchurl, unzip }:
 
 stdenv.mkDerivation rec {
-  name = "pmd-${version}";
-  version = "6.14.0";
+  pname = "pmd";
+  version = "6.15.0";
 
-  buildInputs = [ unzip ];
+  nativeBuildInputs = [ unzip ];
 
   src = fetchurl {
     url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
-    sha256 = "0k40l93fxakms9vm641d4vlb68gfhkblrm24sb7slzvhq2v832dj";
+    sha256 = "0im64lg18bv764i14g3p42dzd7kqq9j5an8dkz1vanypb1jf5j3s";
   };
 
   installPhase = ''
+    runHook preInstall
     mkdir -p $out
-    cp -R * $out
+    cp -R {bin,lib} $out
+    runHook postInstall
   '';
 
   meta = with stdenv.lib; {
     description = "An extensible cross-language static code analyzer";
-    homepage = https://pmd.github.io/;
+    homepage = "https://pmd.github.io/";
+    changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";
     platforms = platforms.unix;
-    license = with licenses; [ bsdOriginal asl20 ];
+    license = with licenses; [ bsdOriginal asl20 lgpl3Plus ];
   };
 }
-