diff --git a/pkgs/development/php-packages/phpmd/default.nix b/pkgs/development/php-packages/phpmd/default.nix index 575d4ec7b460..ba8c0c70c837 100644 --- a/pkgs/development/php-packages/phpmd/default.nix +++ b/pkgs/development/php-packages/phpmd/default.nix @@ -1,14 +1,15 @@ { mkDerivation, fetchurl, makeWrapper, lib, php }: + let pname = "phpmd"; - version = "2.8.2"; + version = "2.13.0"; in mkDerivation { inherit pname version; src = fetchurl { url = "https://github.com/phpmd/phpmd/releases/download/${version}/phpmd.phar"; - sha256 = "1i8qgzxniw5d8zjpypalm384y7qfczapfq70xmg129laq6xiqlqb"; + sha256 = "LNR7qT3KIhIeq9WPdXVGsnuzzXN4ze/juDMpt1Ke/A0="; }; dontUnpack = true; @@ -25,6 +26,7 @@ mkDerivation { ''; meta = with lib; { + changelog = "https://github.com/phpmd/phpmd/releases/tag/${version}"; description = "PHP code quality analyzer"; license = licenses.bsd3; homepage = "https://phpmd.org/";