forked from mirrors/nixpkgs
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
634 B
Nix
23 lines
634 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-deps";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "m-cat";
|
|
repo = pname;
|
|
rev = "4033018eaa53134fd6169653b709b195a5f5958b";
|
|
sha256 = "1cdmgdag9chjifsp2hxr9j15hb6l6anqq38y8srj1nk047a3kbcw";
|
|
};
|
|
|
|
cargoSha256 = "15pf4x2aw8sl65g63cz4yv9y78yc2wi25h9khpqx6i7gyd7dxbsc";
|
|
|
|
meta = with lib; {
|
|
description = "Cargo subcommand for building dependency graphs of Rust projects";
|
|
homepage = "https://github.com/m-cat/cargo-deps";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ arcnmx ];
|
|
};
|
|
}
|