nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
R. RyanTM 5e02b5e689 pmd: 6.8.0 -> 6.9.0 (#50015)
* pmd: 6.8.0 -> 6.9.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
2018-11-09 13:37:30 +01:00

27 lines
578 B
Nix

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