Merge pull request #150748 from mweinelt/synapse-compress-state

matrix-synapse-tools.rust-synapse-compress-state: 0.1.0 -> 0.1.2
This commit is contained in:
maralorn 2021-12-15 12:03:15 +01:00 committed by GitHub
commit 3c52ea8c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,25 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, python3, fetchFromGitHub, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "rust-synapse-compress-state";
version = "0.1.0";
version = "0.1.2";
src = fetchFromGitHub {
owner = "matrix-org";
repo = pname;
rev = "v${version}";
sha256 = "15jvkpbq6pgdc91wnni8fj435yqlwqgx3bb0vqjgsdyxs5lzalfh";
sha256 = "sha256-uL7uoJPvZoTbrmEFY7jiBphvjWSRpH9pyk3x7s3Yvrs=";
};
cargoSha256 = "173nylp9xj88cm42yggj41iqvgb25s3awhf1dqssy8f1zyw2cf3d";
cargoSha256 = "sha256-3w5RyVrpCnetXnxnzgVl94kUZa+1i9bU2O8vp7sb3lY=";
cargoBuildFlags = [
"--all"
];
nativeBuildInputs = [ python3 pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "A tool to compress some state in a Synapse instance's database";