depot/third_party/nixpkgs/pkgs/by-name/el/elf-info/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

29 lines
713 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
pname = "elf-info";
version = "0.3.0";
src = fetchFromGitHub {
owner = "kevin-lesenechal";
repo = "elf-info";
rev = "v${version}";
hash = "sha256-wbFVuoarOoxV9FqmuHJ9eZlG4rRqy1rsnuqbGorC2Rk=";
};
cargoHash = "sha256-r4GcJhQn9x5c2hbL+813mS3HbIg8OwNDsMg/fHQoL9Y=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Inspect and dissect an ELF file with pretty formatting";
homepage = "https://github.com/kevin-lesenechal/elf-info";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ viperML ];
mainProgram = "elf";
};
}