php.packages.phpmd: 2.8.2 -> 2.13.0

This commit is contained in:
Pol Dellaiera 2022-12-24 19:35:13 +01:00
parent 7276d00b8f
commit 9f9d76be97
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -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/";