2018-09-26 03:06:53 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libelf }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vtable-dumper";
|
2018-09-26 03:06:53 +01:00
|
|
|
version = "1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lvc";
|
|
|
|
repo = "vtable-dumper";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0sl7lnjr2l4c2f7qaazvpwpzsp4gckkvccfam88wcq9f7j9xxbyp";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libelf ];
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/lvc/vtable-dumper;
|
|
|
|
description = "A tool to list content of virtual tables in a C++ shared library";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.bhipple ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|