2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, pkg-config }:
|
2020-08-21 10:26:22 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2021-05-07 12:00:49 +01:00
|
|
|
cargoSha256 = "1hqv530x8k4rf9zzyl5p5z58bymk1p4qwrcxs21gr0zm2hqjlxy4";
|
2020-08-21 10:26:22 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-08-21 10:26:22 +01:00
|
|
|
description = "Tools for analyzing ITM traces";
|
|
|
|
homepage = "https://github.com/japaric/itm-tools";
|
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ hh sb0 ];
|
|
|
|
};
|
2020-11-05 23:28:15 +00:00
|
|
|
}
|