lol

php.extensions.ds: update `src` attribute

So it can be automatically updated with `nix-update`

+12 -4
+12 -4
pkgs/development/php-packages/ds/default.nix
··· 1 - { buildPecl, lib, pcre2, php }: 1 + { buildPecl, lib, pcre2, php, fetchFromGitHub }: 2 2 3 - buildPecl { 3 + let 4 + version = "1.4.0"; 5 + in buildPecl { 6 + inherit version; 4 7 pname = "ds"; 5 8 6 - version = "1.4.0"; 7 - sha256 = "1vwk5d27zd746767l8cvbcdr8r70v74vw0im38mlw1g85mc31fd9"; 9 + src = fetchFromGitHub { 10 + owner = "php-ds"; 11 + repo = "ext-ds"; 12 + rev = "v${version}"; 13 + sha256 = "sha256-IqNv2jVW1Hg1hV8H9vEyLT5BWsFkGHR+WlAOHJhlW84="; 14 + }; 8 15 9 16 buildInputs = [ pcre2 ]; 10 17 11 18 meta = with lib; { 19 + changelog = "https://github.com/php-ds/ext-ds/releases/tag/v${version}"; 12 20 description = "An extension providing efficient data structures for PHP"; 13 21 license = licenses.mit; 14 22 homepage = "https://github.com/php-ds/ext-ds";