nixpkgs/pkgs/tools/package-management/cargo-deps/default.nix
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
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.
2021-05-08 00:36:37 -07:00

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 ];
};
}