treewide/php-packages: Drop pkgs from arguments to packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ mkDerivation, fetchurl, pkgs, lib, php }:
|
||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||
let
|
||||
pname = "php-cs-fixer";
|
||||
version = "2.18.2";
|
||||
@@ -12,7 +12,7 @@ mkDerivation {
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
@@ -21,7 +21,7 @@ mkDerivation {
|
||||
--add-flags "$out/libexec/php-cs-fixer/php-cs-fixer.phar"
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
meta = with lib; {
|
||||
description = "A tool to automatically fix PHP coding standards issues";
|
||||
license = licenses.mit;
|
||||
homepage = "http://cs.sensiolabs.org/";
|
||||
|
||||
Reference in New Issue
Block a user