forked from mirrors/nixpkgs
php.packages.phpstan: 1.8.6 -> 1.9.4
This commit is contained in:
parent
9f9d76be97
commit
f9868dcf62
|
@ -1,14 +1,15 @@
|
||||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "phpstan";
|
pname = "phpstan";
|
||||||
version = "1.8.6";
|
version = "1.9.4";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
|
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
|
||||||
sha256 = "sha256-8scUd8BT6u9rqBPoaXozkn6H9PIWF/MWNWT9y8RwPkg=";
|
sha256 = "sha256-A+F/ZoL6dLYx4MWN0eWXtQnmWJPYBqEcSgY4A1oR3mo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -25,6 +26,7 @@ mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/phpstan/phpstan/releases/tag/${version}";
|
||||||
description = "PHP Static Analysis Tool";
|
description = "PHP Static Analysis Tool";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
PHPStan focuses on finding errors in your code without actually
|
PHPStan focuses on finding errors in your code without actually
|
||||||
|
|
Loading…
Reference in a new issue