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
33 lines
983 B
Nix
33 lines
983 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "elfx86exts";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pkgw";
|
|
repo = "elfx86exts";
|
|
tag = "elfx86exts@${finalAttrs.version}";
|
|
hash = "sha256-lqaOnZxuiip1HPDpQraXlpUBYeJuBCRTaNARZVEV5UY=";
|
|
};
|
|
|
|
cargoHash = "sha256-7FVcLvbZQK5M90ofoBpK2V/1+vWlBI/Z2x3ydbCwVbM=";
|
|
|
|
meta = with lib; {
|
|
description = "Decode x86 binaries and print out which instruction set extensions they use";
|
|
longDescription = ''
|
|
Disassemble a binary containing x86 instructions and print out which extensions it uses.
|
|
Despite the utterly misleading name, this tool supports ELF and MachO binaries, and
|
|
perhaps PE-format ones as well. (It used to be more limited.)
|
|
'';
|
|
homepage = "https://github.com/pkgw/elfx86exts";
|
|
maintainers = with maintainers; [ rmcgibbo ];
|
|
license = with licenses; [ mit ];
|
|
mainProgram = "elfx86exts";
|
|
};
|
|
})
|