aef176ec4d
sha256-zrHOw7Uyq8H7AyxrfCo5VthX1EeoSB44ynrRt38u3Sk= -> sha256-yfGfMAQGlXnCoww4rtynknL7qDjcQFEM8p8FbsIqJZU=
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
fetchgit,
|
|
php,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
(php.withExtensions ({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject2
|
|
(finalAttrs: {
|
|
pname = "phing";
|
|
version = "3.1.0";
|
|
|
|
# Upstream no longer provides the composer.lock in their release artifact
|
|
src = fetchgit {
|
|
url = "https://github.com/phingofficial/phing";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-gY6ocmkd7eJIMaBrewfxYL7gTr+1qNHTkuAp+w9ApUU=";
|
|
};
|
|
|
|
vendorHash = "sha256-yfGfMAQGlXnCoww4rtynknL7qDjcQFEM8p8FbsIqJZU=";
|
|
|
|
nativeInstallCheckInputs = [
|
|
versionCheckHook
|
|
];
|
|
versionCheckProgramArg = "-version";
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
description = "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant";
|
|
changelog = "https://github.com/phingofficial/phing/releases/tag/${finalAttrs.version}";
|
|
homepage = "https://github.com/phingofficial/phing";
|
|
license = lib.licenses.lgpl3;
|
|
mainProgram = "phing";
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
})
|