php.packages.phpcs: 3.6.0 -> 3.7.1

This commit is contained in:
Pol Dellaiera 2022-12-25 19:59:31 +01:00
parent cafba5ff24
commit 7276d00b8f
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 = "phpcs";
version = "3.6.0";
version = "3.7.1";
in
mkDerivation {
inherit pname version;
src = fetchurl {
url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcs.phar";
sha256 = "0sdi78hrwd3r5p1b38qmp89m41kfszh2qn4n5zhq2dmhsjdhjziz";
sha256 = "sha256-ehQyOhSvn1gwLRVEJJLuEHaozXLAGKgWy0SWW/OpsBU=";
};
dontUnpack = true;
@ -25,6 +26,7 @@ mkDerivation {
'';
meta = with lib; {
changelog = "https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/${version}";
description = "PHP coding standard tool";
license = licenses.bsd3;
homepage = "https://squizlabs.github.io/PHP_CodeSniffer/";