1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/tools/package-management/cargo-graph/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
752 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-graph";
version = "0.2.0-d895af1";
src = fetchFromGitHub {
owner = "kbknapp";
repo = "cargo-graph";
# The last release (v0.2.0) is from 2015. Since then there have been some
# bug fixes committed that would be good to have.
rev = "d895af1b7840c7ae8eddaf4e990bfa594c22ba01";
sha256 = "0myg26cssmbakz53dl61lswsbaqnjqlbc30c2571pq8f7gvz2qv5";
};
cargoSha256 = "0wyvly7aq4njlxnmgpfgbh08fxgqh85kw7d938pm6qxmj27zn4p2";
meta = with lib; {
description = "A cargo subcommand for creating GraphViz DOT files and dependency graphs";
license = with licenses; [ mit ];
maintainers = with maintainers; [ basvandijk ];
};
}