Merge pull request #156899 from drupol/php/add-ds-extension
This commit is contained in:
commit
896ab6a275
2 changed files with 21 additions and 0 deletions
19
pkgs/development/php-packages/ds/default.nix
Normal file
19
pkgs/development/php-packages/ds/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue