abi-dumper: init at 1.1
This commit is contained in:
parent
f41c55b2ca
commit
cc07807b5b
33
pkgs/development/tools/misc/abi-dumper/default.nix
Normal file
33
pkgs/development/tools/misc/abi-dumper/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "abi-dumper-${version}";
|
||||||
|
version = "1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lvc";
|
||||||
|
repo = "abi-dumper";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1byhw132aj7a5a5zh5s3pnjlrhdk4cz6xd5irp1y08jl980qba5j";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace abi-dumper.pl \
|
||||||
|
--replace eu-readelf ${elfutils}/bin/eu-readelf \
|
||||||
|
--replace vtable-dumper ${vtable-dumper}/bin/vtable-dumper \
|
||||||
|
--replace '"ctags"' '"${ctags}/bin/ctags"'
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ elfutils ctags perl vtable-dumper ];
|
||||||
|
|
||||||
|
preBuild = "mkdir -p $out";
|
||||||
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/lvc/abi-dumper;
|
||||||
|
description = "Dump ABI of an ELF object containing DWARF debug info";
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
maintainers = [ maintainers.bhipple ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -7960,6 +7960,8 @@ with pkgs;
|
|||||||
|
|
||||||
### DEVELOPMENT / TOOLS
|
### DEVELOPMENT / TOOLS
|
||||||
|
|
||||||
|
abi-dumper = callPackage ../development/tools/misc/abi-dumper { };
|
||||||
|
|
||||||
activator = throw ''
|
activator = throw ''
|
||||||
Typesafe Activator was removed in 2017-05-08 as the actual package reaches end of life.
|
Typesafe Activator was removed in 2017-05-08 as the actual package reaches end of life.
|
||||||
|
|
||||||
@ -7968,13 +7970,13 @@ with pkgs;
|
|||||||
for more information.
|
for more information.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
adtool = callPackage ../tools/admin/adtool { };
|
||||||
|
|
||||||
inherit (callPackage ../development/tools/alloy { })
|
inherit (callPackage ../development/tools/alloy { })
|
||||||
alloy4
|
alloy4
|
||||||
alloy5
|
alloy5
|
||||||
alloy;
|
alloy;
|
||||||
|
|
||||||
adtool = callPackage ../tools/admin/adtool { };
|
|
||||||
|
|
||||||
augeas = callPackage ../tools/system/augeas { };
|
augeas = callPackage ../tools/system/augeas { };
|
||||||
|
|
||||||
inherit (callPackages ../tools/admin/ansible {})
|
inherit (callPackages ../tools/admin/ansible {})
|
||||||
|
Loading…
Reference in New Issue
Block a user