phpExtensions.openswoole: minor cleanup

This commit is contained in:
Pol Dellaiera 2023-07-12 06:43:44 +02:00
parent 34a1019a9a
commit b2b126f73e
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

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