da45c8278c
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. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 6.3.0 with grep in /nix/store/12qshljzfqb92vr12gm03p641ljmzasb-pmd-6.3.0 - directory tree listing: https://gist.github.com/3172d5a09b7c81f7fa86a30c71e4fd4d
25 lines
531 B
Nix
25 lines
531 B
Nix
{stdenv, fetchurl, unzip}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pmd-${version}";
|
|
version = "6.3.0";
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
|
|
sha256 = "09x6mpqz4z583lvliipkmvlv3qmmwi7zjzgfjhwyp27faf2pz1ym";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|
|
|