nixpkgs-suyu/pkgs/development/tools/analysis/pmd/default.nix
R. RyanTM e28ebcf8d7 pmd: 6.3.0 -> 6.4.0 (#41529)
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.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/bgastviewer.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/cpdgui.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/designer.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/pmd.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/cpd.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/run.sh had a zero exit code or showed the expected version
- 0 of 6 passed binary check by having a zero exit code.
- 0 of 6 passed binary check by having the new version present in output.
- found 6.4.0 with grep in /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0
- directory tree listing: https://gist.github.com/c371521af22489a6f711d026a7ae6ca8
- du listing: https://gist.github.com/c80d6292115b6f1817e4c877e3b840a9
2018-06-06 08:35:10 +02:00

25 lines
531 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "pmd-${version}";
version = "6.4.0";
buildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "17yjjmqcn1fy3bj73nh5i84yc7wappza612a0iwg0lqqn4yl7lyn";
};
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = {
description = "Scans Java source code and looks for potential problems";
homepage = http://pmd.sourceforge.net/;
platforms = stdenv.lib.platforms.unix;
};
}