diff options
Diffstat (limited to 'pkgs/development/php-packages/phing/default.nix')
-rw-r--r-- | pkgs/development/php-packages/phing/default.nix | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/pkgs/development/php-packages/phing/default.nix b/pkgs/development/php-packages/phing/default.nix index 9c0a155ff726e..dfda99220f9b0 100644 --- a/pkgs/development/php-packages/phing/default.nix +++ b/pkgs/development/php-packages/phing/default.nix @@ -1,29 +1,31 @@ -{ lib -, fetchFromGitHub -, php +{ + lib, + fetchFromGitHub, + php, }: -(php.withExtensions({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject (finalAttrs: { - pname = "phing"; - version = "3.0.0-rc6"; +(php.withExtensions ({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject + (finalAttrs: { + pname = "phing"; + version = "3.0.0-rc6"; - src = fetchFromGitHub { - owner = "phingofficial"; - repo = "phing"; - rev = finalAttrs.version; - hash = "sha256-pOt6uQaz69WuHKYZhq6FFbjyHGrEc+Bf0Sw9uCS3Nrc="; - }; + src = fetchFromGitHub { + owner = "phingofficial"; + repo = "phing"; + rev = finalAttrs.version; + hash = "sha256-pOt6uQaz69WuHKYZhq6FFbjyHGrEc+Bf0Sw9uCS3Nrc="; + }; - # TODO: Open a PR against https://github.com/phingofficial/phing - # Their `composer.lock` is out of date therefore, we need to provide one - composerLock = ./composer.lock; - vendorHash = "sha256-ueTbbz3FGyRcRvlcJNirHdC77Tko4RKtYMFB3+4JdnQ="; + # TODO: Open a PR against https://github.com/phingofficial/phing + # Their `composer.lock` is out of date therefore, we need to provide one + composerLock = ./composer.lock; + vendorHash = "sha256-ueTbbz3FGyRcRvlcJNirHdC77Tko4RKtYMFB3+4JdnQ="; - meta = { - description = "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant"; - homepage = "https://github.com/phingofficial/phing"; - license = lib.licenses.lgpl3; - mainProgram = "phing"; - maintainers = lib.teams.php.members; - }; -}) + meta = { + description = "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant"; + homepage = "https://github.com/phingofficial/phing"; + license = lib.licenses.lgpl3; + mainProgram = "phing"; + maintainers = lib.teams.php.members; + }; + }) |