depot/pkgs/development/php-packages/ds/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
629 B
Nix

{
buildPecl,
lib,
pcre2,
php,
fetchFromGitHub,
}:
let
version = "1.5.0";
in
buildPecl {
inherit version;
pname = "ds";
src = fetchFromGitHub {
owner = "php-ds";
repo = "ext-ds";
rev = "v${version}";
sha256 = "sha256-lL1PUjc4bMTsWm2th0wDxnMaGuVziBUtgK88bUJXuBY=";
};
buildInputs = [ pcre2 ];
meta = with lib; {
changelog = "https://github.com/php-ds/ext-ds/releases/tag/v${version}";
description = "Extension providing efficient data structures for PHP";
license = licenses.mit;
homepage = "https://github.com/php-ds/ext-ds";
maintainers = teams.php.members;
};
}