nixpkgs/pkgs/development/tools/analysis/pmd/default.nix

26 lines
531 B
Nix
Raw Normal View History

{stdenv, fetchurl, unzip}:
2015-03-12 20:19:03 +00:00
stdenv.mkDerivation rec {
name = "pmd-${version}";
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 06:35:10 +00:00
version = "6.4.0";
2015-03-12 20:19:03 +00:00
buildInputs = [ unzip ];
src = fetchurl {
2015-03-12 20:19:03 +00:00
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
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 06:35:10 +00:00
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;
};
}