phpExtensions.ds: init at 1.4.0

This commit is contained in:
Pol Dellaiera 2022-01-26 21:17:02 +01:00
parent 0cb7ed30a0
commit b94195fc84
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ buildPecl, lib, pcre2, php }:
buildPecl {
pname = "ds";
version = "1.4.0";
sha256 = "1vwk5d27zd746767l8cvbcdr8r70v74vw0im38mlw1g85mc31fd9";
buildInputs = [ pcre2 ];
internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ];
meta = with lib; {
description = "An extension providing efficient data structures for PHP";
license = licenses.mit;
homepage = "https://github.com/php-ds/ext-ds";
maintainers = teams.php.members;
};
}

View File

@ -175,6 +175,8 @@ lib.makeScope pkgs.newScope (self: with self; {
couchbase = callPackage ../development/php-packages/couchbase { };
ds = callPackage ../development/php-packages/ds { };
event = callPackage ../development/php-packages/event { };
gnupg = callPackage ../development/php-packages/gnupg { };