1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
R. RyanTM 0bb9b3c233 pmd: 6.5.0 -> 6.7.0 (#46213)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
pmd
2018-09-07 20:14:07 +02:00

26 lines
531 B
Nix

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