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

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

authored by maralorn and committed by GitHub 3c52ea8c 317b245b

+12 -4
+12 -4
pkgs/servers/matrix-synapse/tools/rust-synapse-compress-state.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rust-synapse-compress-state"; 5 - version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "matrix-org"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "15jvkpbq6pgdc91wnni8fj435yqlwqgx3bb0vqjgsdyxs5lzalfh"; 12 }; 13 14 - cargoSha256 = "173nylp9xj88cm42yggj41iqvgb25s3awhf1dqssy8f1zyw2cf3d"; 15 16 meta = with lib; { 17 description = "A tool to compress some state in a Synapse instance's database";
··· 1 + { lib, rustPlatform, python3, fetchFromGitHub, pkg-config, openssl }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rust-synapse-compress-state"; 5 + version = "0.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "matrix-org"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-uL7uoJPvZoTbrmEFY7jiBphvjWSRpH9pyk3x7s3Yvrs="; 12 }; 13 14 + cargoSha256 = "sha256-3w5RyVrpCnetXnxnzgVl94kUZa+1i9bU2O8vp7sb3lY="; 15 + 16 + cargoBuildFlags = [ 17 + "--all" 18 + ]; 19 + 20 + nativeBuildInputs = [ python3 pkg-config ]; 21 + 22 + buildInputs = [ openssl ]; 23 24 meta = with lib; { 25 description = "A tool to compress some state in a Synapse instance's database";