@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "pmd-${version}";
5− version = "6.7.0";
5+ version = "6.8.0";
66
77 buildInputs = [ unzip ];
88
99 src = fetchurl {
1010 url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
11− sha256 = "0bnbr8zq28dgvwka563g5lbya5jhmjrahnbwagcs4afpsrm7zj6c";
11+ sha256 = "1vfkg2l3sl5ahhs89nvkg0z1ah1k67c44nwpvaymq73rb2bb8ibr";
1212 };
1313
1414 installPhase = ''
@@ -16,10 +16,11 @@ stdenv.mkDerivation rec {
1616 cp -R * $out
1717 '';
1818
19− meta = {
20− description = "Scans Java source code and looks for potential problems";
21− homepage = http://pmd.sourceforge.net/;
22− platforms = stdenv.lib.platforms.unix;
19+ meta = with stdenv.lib; {
20+ description = "An extensible cross-language static code analyzer.";
21+ homepage = https://pmd.github.io/;
22+ platforms = platforms.unix;
23+ license = with licenses; [ bsdOriginal asl20 ];
2324 };
2425}
2526