phpExtensions.openswoole: minor cleanup
This commit is contained in:
parent
34a1019a9a
commit
b2b126f73e
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue