nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
R. RyanTM ebbf0ec5e3 pmd: 6.13.0 -> 6.14.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
2019-05-01 18:34:53 -07:00

26 lines
579 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "pmd-${version}";
version = "6.14.0";
buildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "0k40l93fxakms9vm641d4vlb68gfhkblrm24sb7slzvhq2v832dj";
};
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = with stdenv.lib; {
description = "An extensible cross-language static code analyzer";
homepage = https://pmd.github.io/;
platforms = platforms.unix;
license = with licenses; [ bsdOriginal asl20 ];
};
}