Merge pull request #176640 from stigtsp/package/convos-7.02

convos: 6.42 -> 7.02
This commit is contained in:
Stig 2022-08-03 11:45:27 +02:00 committed by GitHub
commit b53684ba2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 20 deletions

View file

@ -24,7 +24,7 @@ in
testScript = ''
machine.wait_for_unit("convos")
machine.wait_for_open_port(${toString port})
machine.succeed("journalctl -u convos | grep -q 'Listening at.*${toString port}'")
machine.succeed("journalctl -u convos | grep -q 'application available at.*${toString port}'")
machine.succeed("curl -f http://localhost:${toString port}/")
'';
})

View file

@ -6,13 +6,13 @@ with lib;
perlPackages.buildPerlPackage rec {
pname = "convos";
version = "6.42";
version = "7.02";
src = fetchFromGitHub {
owner = "convos-chat";
repo = pname;
rev = "v${version}";
sha256 = "sha256-W7ZVZUCNllpFIQpNz2m/8VFOXDZfuppB+g3qibY6wt8=";
sha256 = "sha256-i8lDK5/Whi5uo2/Qqh5jgJGLuuHn7kdrfvr+9Ktzp/8=";
};
nativeBuildInputs = [ makeWrapper ]
@ -20,7 +20,7 @@ perlPackages.buildPerlPackage rec {
buildInputs = with perlPackages; [
CryptPassphrase CryptPassphraseArgon2 CryptPassphraseBcrypt
FileHomeDir FileReadBackwards HTTPAcceptLanguage
FileHomeDir FileReadBackwards HTTPAcceptLanguage SyntaxKeywordTry FutureAsyncAwait
IOSocketSSL IRCUtils JSONValidator LinkEmbedder ModuleInstall
Mojolicious MojoliciousPluginOpenAPI MojoliciousPluginSyslog MojoliciousPluginWebpack
ParseIRC TextMarkdownHoedown TimePiece UnicodeUTF8
@ -36,6 +36,10 @@ perlPackages.buildPerlPackage rec {
'';
preCheck = ''
# Remove unstable test (PR #176640)
#
rm t/plugin-auth-header.t
# Remove online test
#
rm t/web-pwa.t

View file

@ -9248,10 +9248,10 @@ let
Future = buildPerlModule {
pname = "Future";
version = "0.47";
version = "0.48";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PEVANS/Future-0.47.tar.gz";
sha256 = "1pmhkhrmvaf8c3jbrfqqhmxjrzcsxdn2q7apj033gwxggland88h";
url = "mirror://cpan/authors/id/P/PE/PEVANS/Future-0.48.tar.gz";
sha256 = "sha256-D+ixXBQvKjBKMXGKIKEFA6m0TMASw69eN7i34koHUqM=";
};
buildInputs = [ TestFatal TestIdentity TestRefcount ];
meta = {
@ -9262,12 +9262,12 @@ let
FutureAsyncAwait = buildPerlModule rec {
pname = "Future-AsyncAwait";
version = "0.52";
version = "0.58";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PEVANS/Future-AsyncAwait-${version}.tar.gz";
sha256 = "0dwij2r51vij91hx808zc2l5q38h55jahzrh73h4rn816jv597yx";
url = "mirror://cpan/authors/id/P/PE/PEVANS/Future-AsyncAwait-0.58.tar.gz";
sha256 = "sha256-OLtJ9jabBUrAUuaNomR/4i0Io605rgNuJ6KRELtOQi4=";
};
buildInputs = [ TestRefcount ];
buildInputs = [ TestRefcount TestFatal ];
propagatedBuildInputs = [ Future XSParseKeyword XSParseSublike ];
perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC";
meta = {
@ -21115,10 +21115,10 @@ let
SyntaxKeywordTry = buildPerlModule {
pname = "Syntax-Keyword-Try";
version = "0.25";
version = "0.27";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-0.25.tar.gz";
sha256 = "0xd82gcpcrnmwxsbk7x0ainmyybdc087g6j69hrpy80j0asnq2f5";
url = "mirror://cpan/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-0.27.tar.gz";
sha256 = "sha256-JG4bAz4/8i/VQgVQ1Lbg1WtDjNy7nTXL6LG1uhV03iM=";
};
propagatedBuildInputs = [ XSParseKeyword ];
perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC";
@ -25809,10 +25809,10 @@ let
XSParseKeyword = buildPerlModule {
pname = "XS-Parse-Keyword";
version = "0.12";
version = "0.25";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.12.tar.gz";
sha256 = "0crwhcw9ciqndvwvhycd93m6jgyhi77yyj4vi9xfyglpv84p3y68";
url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.25.tar.gz";
sha256 = "sha256-9e2zDPfH8iDQxsMdwetVQDKECpnHwpgxT1zD/vZscsc=";
};
buildInputs = [ ExtUtilsCChecker ];
perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC";
@ -25825,10 +25825,10 @@ let
XSParseSublike = buildPerlModule {
pname = "XS-Parse-Sublike";
version = "0.12";
version = "0.16";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Sublike-0.12.tar.gz";
sha256 = "08kpia48f1rqc44rvbns97h3jyy2y5c8qlkh4a95v1m0yr5cb22s";
url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Sublike-0.16.tar.gz";
sha256 = "sha256-IV5AmzmFgdJfDv8DeFBjvCUTu4YbrL6Z/m1VNTRvZt8=";
};
buildInputs = [ TestFatal ];
perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC";