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 29f25b22df pmd: 6.9.0 -> 6.10.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-12-19 17:48:03 -05:00

27 lines
579 B
Nix

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