Files
nixpkgs/pkgs/by-name/it/itm-tools/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
890 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
}:
rustPlatform.buildRustPackage {
pname = "itm-tools";
version = "0-unstable-2019-11-15";
src = fetchFromGitHub {
owner = "japaric";
repo = "itm-tools";
rev = "e94155e44019d893ac8e6dab51cc282d344ab700";
sha256 = "19xkjym0i7y52cfhvis49c59nzvgw4906cd8bkz8ka38mbgfqgiy";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"itm-0.4.0" = "sha256-T61f1WvxEMhI5bzp8FuMYWiG1YOPJvWuBJfK/gjuNKI=";
};
};
nativeBuildInputs = [ pkg-config ];
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
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
];
};
}