1{
2 lib,
3 fetchFromGitHub,
4 php,
5}:
6
7(php.withExtensions ({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject
8 (finalAttrs: {
9 pname = "phing";
10 version = "3.0.0-rc6";
11
12 src = fetchFromGitHub {
13 owner = "phingofficial";
14 repo = "phing";
15 rev = finalAttrs.version;
16 hash = "sha256-pOt6uQaz69WuHKYZhq6FFbjyHGrEc+Bf0Sw9uCS3Nrc=";
17 };
18
19 # TODO: Open a PR against https://github.com/phingofficial/phing
20 # Their `composer.lock` is out of date therefore, we need to provide one
21 composerLock = ./composer.lock;
22 vendorHash = "sha256-ueTbbz3FGyRcRvlcJNirHdC77Tko4RKtYMFB3+4JdnQ=";
23
24 meta = {
25 description = "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant";
26 homepage = "https://github.com/phingofficial/phing";
27 license = lib.licenses.lgpl3;
28 mainProgram = "phing";
29 maintainers = lib.teams.php.members;
30 };
31 })