depot/third_party/nixpkgs/pkgs/development/php-packages/phing/default.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

29 lines
936 B
Nix

{
lib,
fetchgit,
php,
}:
(php.withExtensions ({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject2
(finalAttrs: {
pname = "phing";
version = "3.0.0";
# Upstream no longer provides the composer.lock in their release artifact
src = fetchgit {
url = "https://github.com/phingofficial/phing";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-PEJuEsVl6H4tdqOUvkuazVmyvsRvhBD5AA7EWkMHmFk=";
};
vendorHash = "sha256-P829cADIJ5Hl5gHXbgTkpWHGF1pCtUKvx1GMrbPLkik=";
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";
maintainers = lib.teams.php.members;
};
})