Merge remote-tracking branch 'origin/master' into haskell-updates

This commit is contained in:
Ellie Hermaszewska 2021-10-23 15:15:30 +08:00
commit ab2cc76346
No known key found for this signature in database
GPG key ID: C8116E3A0C1CA76A
5 changed files with 36 additions and 10 deletions

View file

@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
version = "1.079";
version = "1.082";
in
fetchzip {
name = "recursive-${version}";
@ -14,7 +14,7 @@ fetchzip {
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
'';
sha256 = "sha256-nRFjfbbZG9wDHGbGfS+wzViKF/ogWs8i/6OG0rkDHDg=";
sha256 = "1hjyjvzhfgqw58py4gk58fwyp5pxr3j8j76ppj6apg4dndfhs0lp";
meta = with lib; {
homepage = "https://recursive.design/";

View file

@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-UKroV1p7jYuNzCAFMsuUsYC/C9AZ1D4rhwpwuER39vc=";
};
# This patch should be obsolete and should stop applying the in next release.
patches = [ ./fix-compilation-with-olm-3.2.5.patch ];
cmakeFlags = [
# Network requiring tests can't be disabled individually:
# https://github.com/Nheko-Reborn/mtxclient/issues/22

View file

@ -0,0 +1,22 @@
diff -Naur old/lib/crypto/client.cpp c5pf6ygk9v9rdwwr3dyd24wghflp0vmx-source/lib/crypto/client.cpp
--- old/lib/crypto/client.cpp 2021-10-22 19:31:52.159836190 +0300
+++ c5pf6ygk9v9rdwwr3dyd24wghflp0vmx-source/lib/crypto/client.cpp 2021-10-22 19:30:42.882010441 +0300
@@ -37,15 +37,15 @@
};
-OlmErrorCode
+mtx::crypto::OlmErrorCode
olm_exception::ec_from_string(std::string_view error)
{
for (size_t i = 0; i < olmErrorStrings.size(); i++) {
if (olmErrorStrings[i] == error)
- return static_cast<OlmErrorCode>(i);
+ return static_cast<mtx::crypto::OlmErrorCode>(i);
}
- return OlmErrorCode::UNKNOWN_ERROR;
+ return mtx::crypto::OlmErrorCode::UNKNOWN_ERROR;
}
void

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "pgbouncer";
version = "1.15.0";
version = "1.16.0";
src = fetchurl {
url = "https://pgbouncer.github.io/downloads/files/${version}/${pname}-${version}.tar.gz";
sha256 = "100ksf2wcdrsscaiq78s030mb48hscjr3kfbm9h6y9d6i8arwnp0";
sha256 = "0li66jk1v07bpfmmqzcqjn5vkhglfhwnbncc5bpalg5qidhr38x4";
};
nativeBuildInputs = [ pkg-config ];
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
homepage = "https://pgbouncer.github.io";
description = "Lightweight connection pooler for PostgreSQL";
license = licenses.isc;
maintainers = with maintainers; [ _1000101 ];
platforms = platforms.all;
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "pgmetrics";
version = "1.11.0";
version = "1.12.0";
src = fetchFromGitHub {
owner = "rapidloop";
repo = pname;
rev = "v${version}";
sha256 = "sha256-8E4rciuoZrj8Oz2EXqtFgrPxvb8GJO3n1s2FpXrR0Q0=";
owner = "rapidloop";
repo = pname;
rev = "v${version}";
sha256 = "1fwc4qc17fqmzx08kiyfx5iwgzr14dxk9i8zjd9bq5gk281v0ybd";
};
vendorSha256 = "sha256-scaaRjaDE/RG6Ei83CJBkfQCd1e5pH/Cs2vEbdl9Oyg=";
vendorSha256 = "18da45axjl8l3qb6f3w5v2c7clz4bjhdz2bck20j729k7693hpsl";
doCheck = false;