diff --git a/pkgs/development/tools/analysis/pmd/default.nix b/pkgs/development/tools/analysis/pmd/default.nix index 2709caaab06..7098771cc6e 100644 --- a/pkgs/development/tools/analysis/pmd/default.nix +++ b/pkgs/development/tools/analysis/pmd/default.nix @@ -1,12 +1,14 @@ {stdenv, fetchurl, unzip}: -stdenv.mkDerivation { - name = "pmd-4.2.6"; - buildInputs = [unzip] ; +stdenv.mkDerivation rec { + name = "pmd-${version}"; + version = "5.2.3"; + + buildInputs = [ unzip ]; src = fetchurl { - url = mirror://sourceforge/pmd/pmd-bin-4.2.6.zip ; - sha256 = "0gg1px2jmqn09f5vjzgy9gck37qjm9p2d7gf9grsmrr2xncbipp8"; + url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip"; + sha256 = "03frkyiii7304qrcypdqcxqxjf5n3p59zjib0r802mbbx1nzcisn"; }; installPhase = ''