nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, libelf }:
2
3stdenv.mkDerivation rec {
4 pname = "vtable-dumper";
5 version = "1.2";
6
7 src = fetchFromGitHub {
8 owner = "lvc";
9 repo = "vtable-dumper";
10 rev = version;
11 sha256 = "0sl7lnjr2l4c2f7qaazvpwpzsp4gckkvccfam88wcq9f7j9xxbyp";
12 };
13
14 buildInputs = [ libelf ];
15 makeFlags = [ "prefix=$(out)" ];
16
17 meta = with lib; {
18 homepage = "https://github.com/lvc/vtable-dumper";
19 description = "A tool to list content of virtual tables in a C++ shared library";
20 license = licenses.lgpl21;
21 maintainers = [ maintainers.bhipple ];
22 platforms = platforms.all;
23 };
24}