2021-06-28 23:13:55 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "elfcat";
|
2021-07-21 07:28:18 +00:00
|
|
|
version = "0.1.4";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ruslashev";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-21 07:28:18 +00:00
|
|
|
sha256 = "sha256-gh5JO3vO2FpHiZfaHOODPhRSB9HqZe1ir4g7UEkSUHY=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|