mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
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.
29 lines
745 B
Nix
29 lines
745 B
Nix
{ lib, fetchFromGitHub, rustPlatform, pkg-config }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "itm-tools";
|
|
version = "unstable-2019-11-15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "japaric";
|
|
repo = pname;
|
|
rev = "e94155e44019d893ac8e6dab51cc282d344ab700";
|
|
sha256 = "19xkjym0i7y52cfhvis49c59nzvgw4906cd8bkz8ka38mbgfqgiy";
|
|
};
|
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
cargoSha256 = "1hqv530x8k4rf9zzyl5p5z58bymk1p4qwrcxs21gr0zm2hqjlxy4";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Tools for analyzing ITM traces";
|
|
homepage = "https://github.com/japaric/itm-tools";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ hh sb0 ];
|
|
};
|
|
}
|