2021-06-28 23:13:55 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "elfcat";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.1.8";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ruslashev";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-NzFKNCCPWBj/fhaEJF34nyeyvLMeQwIcQgTlYc6mgYo=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
# There is no dependency to vendor in this project.
|
|
|
|
cargoLock.lockFile = ./Cargo.lock;
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|