nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
Ryan Mulligan 662b397167 pmd: 5.2.3 -> 6.0.1
Semi-automatic update. These checks were performed:

- built on NixOS
- found 6.0.1 with grep in /nix/store/bi514yar6zzf7i7c78ndlha1pba51ld2-pmd-6.0.1
- found 6.0.1 in filename of file in /nix/store/bi514yar6zzf7i7c78ndlha1pba51ld2-pmd-6.0.1
2018-03-04 17:36:22 +00:00

25 lines
531 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "pmd-${version}";
version = "6.0.1";
buildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "13wmmy345p8bzvxdb8ldpkv85m3m8x9qs5f0jjhn0gkn65a988iq";
};
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;
};
}