3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
R. RyanTM 7e8d125e19 pmd: 6.11.0 -> 6.12.0 (#57369)
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-03-27 23:26:52 +01:00

27 lines
579 B
Nix

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