Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
579 B · 26 lines
Nix
123456789101112131415161718192021222324252627{ buildPecl, lib, mpdecimal, php,}:let version = "1.5.0";inbuildPecl { 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; teams = [ lib.teams.php ]; };}