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.
22 lines
609 B
Nix
22 lines
609 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kondo";
|
|
version = "0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tbillington";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0kl2zn6ir3w75ny25ksgxl93vlyb13gzx2795zyimqqnsrdpbbrf";
|
|
};
|
|
|
|
cargoSha256 = "0sddsm0jys1bsj2bsr39lcyx8k2hzw17nlsv6aql0v82x8qbsiv4";
|
|
|
|
meta = with lib; {
|
|
description = "Save disk space by cleaning unneeded files from software projects";
|
|
homepage = "https://github.com/tbillington/kondo";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|