pmd: 6.14.0 -> 6.15.0 (#62503)
* pmd: 6.14.0 -> 6.15.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 * pmd: cleanup
This commit is contained in:
parent
e283999204
commit
97b23ec91d
@ -1,26 +1,28 @@
|
|||||||
{stdenv, fetchurl, unzip}:
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pmd-${version}";
|
pname = "pmd";
|
||||||
version = "6.14.0";
|
version = "6.15.0";
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
|
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
|
||||||
sha256 = "0k40l93fxakms9vm641d4vlb68gfhkblrm24sb7slzvhq2v832dj";
|
sha256 = "0im64lg18bv764i14g3p42dzd7kqq9j5an8dkz1vanypb1jf5j3s";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -R * $out
|
cp -R {bin,lib} $out
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An extensible cross-language static code analyzer";
|
description = "An extensible cross-language static code analyzer";
|
||||||
homepage = https://pmd.github.io/;
|
homepage = "https://pmd.github.io/";
|
||||||
|
changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
license = with licenses; [ bsdOriginal asl20 ];
|
license = with licenses; [ bsdOriginal asl20 lgpl3Plus ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user