nixpkgs/pkgs/development/php-packages/ds/default.nix
Pol Dellaiera 4ff2402e2a
php.extensions.ds: update src attribute
So it can be automatically updated with `nix-update`
2022-12-29 18:21:57 +01:00

25 lines
621 B
Nix

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