matrix-synapse.tools.synapse-rust-compress-state: 0.1.0 -> 0.1.2

This commit is contained in:
Martin Weinelt 2021-12-14 20:08:20 +01:00
parent 13506e9f96
commit 8e06903998
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

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";