Files
nixpkgs/pkgs/development/php-packages/decimal/default.nix
Piotr Kwiecinski cd3b517ab2 php86Extensions.decimal: mark broken
(cherry picked from commit bf6be53e9a)
2026-10-09 17:48:32 +02:00

28 lines
630 B
Nix

{
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 = {
broken = lib.versionAtLeast php.version "8.6";
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;
teams = [ lib.teams.php ];
};
}