mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
23 lines
656 B
Nix
23 lines
656 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rust-synapse-compress-state";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matrix-org";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "15jvkpbq6pgdc91wnni8fj435yqlwqgx3bb0vqjgsdyxs5lzalfh";
|
|
};
|
|
|
|
cargoSha256 = "173nylp9xj88cm42yggj41iqvgb25s3awhf1dqssy8f1zyw2cf3d";
|
|
|
|
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 ];
|
|
};
|
|
}
|