mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
e1c5b47935
* pmd: 6.7.0 -> 6.8.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: refresh meta Homepage is now https://pmd.github.io/ Added licenses
27 lines
579 B
Nix
27 lines
579 B
Nix
{stdenv, fetchurl, unzip}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pmd-${version}";
|
|
version = "6.8.0";
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
|
|
sha256 = "1vfkg2l3sl5ahhs89nvkg0z1ah1k67c44nwpvaymq73rb2bb8ibr";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|