Merge pull request #242990 from NixOS/php/extension/update-openswoole

phpExtensions.openswoole: minor cleanup
This commit is contained in:
Pol Dellaiera 2023-07-12 06:53:18 +02:00 committed by GitHub
commit 0ba99827b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib, stdenv, buildPecl, php, valgrind, pcre2, fetchFromGitHub }:
{ lib, stdenv, buildPecl, valgrind, pcre2, fetchFromGitHub }:
let
pname = "openswoole";
version = "22.0.0";
in buildPecl {
inherit version;
@ -11,7 +10,7 @@ in buildPecl {
owner = "openswoole";
repo = "swoole-src";
rev = "v${version}";
sha256 = "sha256-4Z7mBNGHXS/giSCmPpSyu9/99MEjCnoXgymDM/s1gk8=";
hash = "sha256-4Z7mBNGHXS/giSCmPpSyu9/99MEjCnoXgymDM/s1gk8=";
};
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];