2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libelf }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vtable-dumper";
|
|
|
|
version = "1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lvc";
|
|
|
|
repo = "vtable-dumper";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0sl7lnjr2l4c2f7qaazvpwpzsp4gckkvccfam88wcq9f7j9xxbyp";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libelf ];
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/lvc/vtable-dumper";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool to list content of virtual tables in a C++ shared library";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "vtable-dumper";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.bhipple ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|