Merge pull request #291322 from viperML/elf-info
elf-info: init at 0.3.0
This commit is contained in:
commit
a23fdbb4f2
1 changed files with 29 additions and 0 deletions
29
pkgs/by-name/el/elf-info/package.nix
Normal file
29
pkgs/by-name/el/elf-info/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue