matrix-conduit: 0.9.0 -> 0.10.3

This commit is contained in:
liberodark
2025-05-21 15:33:30 +02:00
parent 398c52b9d5
commit 86fd84d3bf
+11 -10
View File
@@ -10,23 +10,23 @@
rust-jemalloc-sys,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "matrix-conduit";
version = "0.9.0";
version = "0.10.3";
src = fetchFromGitLab {
owner = "famedly";
repo = "conduit";
rev = "v${version}";
hash = "sha256-mQLfRAun2G/LDnw3jyFGJbOqpxh2PL8IGzFELRfAgAI=";
rev = "v${finalAttrs.version}";
hash = "sha256-cLPfgRchYLJXA13Xr1Yg3v+O/7SvxWYIAxaKvnsm7HM=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-r7fOzTug0cKQUGrpXDn1JKb6/lLQDgnA3/colmldA4c=";
cargoHash = "sha256-i/x6V/0WgMUuZoG8znREmAnLqw/9lYPk4F5i2SA5mmo=";
# Conduit enables rusqlite's bundled feature by default, but we'd rather use our copy of SQLite.
preBuild = ''
substituteInPlace Cargo.toml --replace "features = [\"bundled\"]" "features = []"
substituteInPlace Cargo.toml --replace-fail "features = [\"bundled\"]" "features = []"
cargo update --offline -p rusqlite
'';
@@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
sqlite
rust-jemalloc-sys
rocksdb
];
env = {
@@ -52,14 +53,14 @@ rustPlatform.buildRustPackage rec {
inherit (nixosTests) matrix-conduit;
};
meta = with lib; {
meta = {
description = "Matrix homeserver written in Rust";
homepage = "https://conduit.rs/";
license = licenses.asl20;
maintainers = with maintainers; [
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
pstn
pimeys
];
mainProgram = "conduit";
};
}
})