1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/pkgs/development/tools/misc/itm-tools/default.nix

28 lines
754 B
Nix
Raw Normal View History

2020-08-21 10:26:22 +01:00
{ stdenv, 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 = "0rl2ph5igwjl7rwpwcf6afnxly5av7cd6va6wn82lxm606giyq75";
nativeBuildInputs = [ pkg-config ];
doCheck = false;
meta = with stdenv.lib; {
description = "Tools for analyzing ITM traces";
homepage = "https://github.com/japaric/itm-tools";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ hh sb0 ];
};
}