bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
25 lines
654 B
Nix
25 lines
654 B
Nix
{ lib, stdenv, fetchFromGitHub, libelf }:
|
|
|
|
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)" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lvc/vtable-dumper";
|
|
description = "Tool to list content of virtual tables in a C++ shared library";
|
|
mainProgram = "vtable-dumper";
|
|
license = licenses.lgpl21;
|
|
maintainers = [ maintainers.bhipple ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|