mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-05 04:10:19 +00:00
34 lines
666 B
Nix
34 lines
666 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
pcre2,
|
|
php,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
let
|
|
version = "2.0.0";
|
|
in
|
|
buildPecl {
|
|
inherit version;
|
|
pname = "ds";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "php-ds";
|
|
repo = "ext-ds";
|
|
tag = "v${version}";
|
|
hash = "sha256-QWBxjt3rzD3m3y2ScbYvtZnjPUYsd3uMMQOFY/RQ3Io=";
|
|
};
|
|
|
|
buildInputs = [ pcre2 ];
|
|
|
|
meta = {
|
|
broken = lib.versionAtLeast php.version "8.6";
|
|
changelog = "https://github.com/php-ds/ext-ds/releases/tag/v${version}";
|
|
description = "Extension providing efficient data structures for PHP";
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/php-ds/ext-ds";
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
}
|