Unverified Commit 3e83bf8c authored by agj's avatar agj Committed by GitHub
Browse files

php84Extensions.decimal: init at 1.5.0

parent 5f354077
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{
  buildPecl,
  lib,
  mpdecimal,
  php,
}:
let
  version = "1.5.0";
in
buildPecl {
  pname = "decimal";

  version = version;
  hash = "sha256-it8w8hOLYwtCZoDYhaP5k5TD/pQLtj37K2lSESF80ok=";

  buildInputs = [ mpdecimal ];
  configureFlags = [ "--with-libmpdec-path=${mpdecimal}" ];

  meta = {
    description = "Arbitrary-precision decimal arithmetic for PHP";
    homepage = "https://php-decimal.github.io";
    changelog = "https://pecl.php.net/package-changelog.php?package=decimal&release=${version}";
    license = lib.licenses.mit;
    maintainers = lib.teams.php.members;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -292,6 +292,8 @@ lib.makeScope pkgs.newScope (
          inherit (pkgs) darwin;
        };

        decimal = callPackage ../development/php-packages/decimal { };

        ds = callPackage ../development/php-packages/ds { };

        event = callPackage ../development/php-packages/event { };