blob: 88d84ad1d11dcd98223010fcf44edc55a551d970 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
pname = "pmd";
version = "6.16.0";
nativeBuildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "0h4818dxd9nq925asa9g3g9i2i5hg85ziapacyiqq4bhab67ysy4";
};
installPhase = ''
runHook preInstall
mkdir -p $out
cp -R {bin,lib} $out
runHook postInstall
'';
meta = with stdenv.lib; {
description = "An extensible cross-language static code analyzer";
homepage = "https://pmd.github.io/";
changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";
platforms = platforms.unix;
license = with licenses; [ bsdOriginal asl20 lgpl3Plus ];
};
}
|