mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 17:34:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
629 B
Nix
33 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;
|
|
};
|
|
}
|