nixpkgs/pkgs/tools/misc/elfcat/default.nix
2021-07-20 01:07:28 +08:00

23 lines
564 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "elfcat";
version = "0.1.4";
src = fetchFromGitHub {
owner = "ruslashev";
repo = pname;
rev = version;
sha256 = "sha256-gh5JO3vO2FpHiZfaHOODPhRSB9HqZe1ir4g7UEkSUHY=";
};
cargoLock.lockFile = ./Cargo.lock;
meta = with lib; {
description = "ELF visualizer, generates HTML files from ELF binaries.";
homepage = "https://github.com/ruslashev/elfcat";
license = licenses.zlib;
maintainers = with maintainers; [ fortuneteller2k ];
};
}