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.
25 lines
629 B
Nix
25 lines
629 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "todiff";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Ekleog";
|
|
repo = "todiff";
|
|
rev = version;
|
|
sha256 = "1y0v8nkaqb8kn61xwarpbyrq019gxx1f5f5p1hzw73nqxadc1rcm";
|
|
};
|
|
|
|
cargoSha256 = "0vrn1vc3rwabv6l2r1qb7mkcxbp75q79bfl3rxhyi51ra3ij507r";
|
|
|
|
checkPhase = "cargo test --features=integration_tests";
|
|
|
|
meta = with lib; {
|
|
description = "Human-readable diff for todo.txt files";
|
|
homepage = "https://github.com/Ekleog/todiff";
|
|
maintainers = with maintainers; [ ekleog ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|