mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
983 B
Nix
32 lines
983 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "elfx86exts";
|
|
version = "unstable-2023-04-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pkgw";
|
|
repo = pname;
|
|
rev = "26bf98cf1fc773196e594c48bfe808d7151076f6";
|
|
hash = "sha256-xNmaKGbMN92CPIQQRbdmeePk5Wt9XcIsB/2vbk5NJzg=";
|
|
};
|
|
|
|
cargoHash = "sha256-NH7QK8a+ndhZGlLa3gWlnQdBQil1pi2AAi5TtFgkVf0=";
|
|
|
|
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";
|
|
};
|
|
}
|