mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
php84Extensions.decimal: init at 1.5.0
This commit is contained in:
parent
5f3540778e
commit
3e83bf8c9b
26
pkgs/development/php-packages/decimal/default.nix
Normal file
26
pkgs/development/php-packages/decimal/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user