Unverified Commit 01ac3acf authored by Patka's avatar Patka
Browse files

phpPackages.phing: 3.0.0-rc6 -> 3.0.0

parent b37bbeb1
Loading
Loading
Loading
Loading
+0 −7486

File deleted.

Preview size limit exceeded, changes collapsed.

+10 −12
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchgit,
  php,
}:

(php.withExtensions ({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject
(php.withExtensions ({ enabled, all }: enabled ++ (with all; [ xsl ]))).buildComposerProject2
  (finalAttrs: {
    pname = "phing";
    version = "3.0.0-rc6";
    version = "3.0.0";

    src = fetchFromGitHub {
      owner = "phingofficial";
      repo = "phing";
      rev = finalAttrs.version;
      hash = "sha256-pOt6uQaz69WuHKYZhq6FFbjyHGrEc+Bf0Sw9uCS3Nrc=";
    # 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=";
    };

    # 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=";
    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";