nixpkgs/pkgs/development/php-packages/phing/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
898 B
Nix
Raw Normal View History

2024-02-20 11:24:41 +00:00
{ lib
, fetchFromGitHub
, php
}:
2024-02-20 11:24:41 +00:00
(php.withExtensions({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject (finalAttrs: {
2022-02-24 20:08:05 +00:00
pname = "phing";
2024-02-20 11:24:41 +00:00
version = "3.0.0-rc6";
2022-02-24 20:08:05 +00:00
2024-02-20 11:24:41 +00:00
src = fetchFromGitHub {
owner = "phingofficial";
repo = "phing";
rev = finalAttrs.version;
hash = "sha256-pOt6uQaz69WuHKYZhq6FFbjyHGrEc+Bf0Sw9uCS3Nrc=";
2022-02-24 20:08:05 +00:00
};
2024-02-20 11:24:41 +00:00
# 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=";
2022-02-24 20:08:05 +00:00
2024-02-20 11:24:41 +00:00
meta = {
2022-02-24 20:08:05 +00:00
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";
2024-02-20 11:24:41 +00:00
license = lib.licenses.lgpl3;
mainProgram = "phing";
maintainers = lib.teams.php.members;
2022-02-24 20:08:05 +00:00
};
2024-02-20 11:24:41 +00:00
})