blob: fcf123d6e1db3ff588298a0890c83328e1c49c24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, rustPlatform, python3, fetchFromGitHub, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "rust-synapse-compress-state";
version = "0.1.3";
src = fetchFromGitHub {
owner = "matrix-org";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SSfVtG8kwHarVbB1O7xC2SSbUpPGYMHTMyoxu8mpEk0=";
};
cargoSha256 = "sha256-PG+UeovhJMsIlm5dOYdtMxbUxZjwG3V59kAcB9aFP5c=";
cargoBuildFlags = [
"--all"
];
nativeBuildInputs = [ python3 pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "A tool to compress some state in a Synapse instance's database";
homepage = "https://github.com/matrix-org/rust-synapse-compress-state";
license = licenses.asl20;
maintainers = with maintainers; [ hexa maralorn ];
};
}
|