tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
abi-dumper: init at 1.1
Benjamin Hipple
7 years ago
cc07807b
f41c55b2
+37
-2
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
misc
abi-dumper
default.nix
top-level
all-packages.nix
+33
pkgs/development/tools/misc/abi-dumper/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }:
2
+
3
+
stdenv.mkDerivation rec {
4
+
name = "abi-dumper-${version}";
5
+
version = "1.1";
6
+
7
+
src = fetchFromGitHub {
8
+
owner = "lvc";
9
+
repo = "abi-dumper";
10
+
rev = version;
11
+
sha256 = "1byhw132aj7a5a5zh5s3pnjlrhdk4cz6xd5irp1y08jl980qba5j";
12
+
};
13
+
14
+
patchPhase = ''
15
+
substituteInPlace abi-dumper.pl \
16
+
--replace eu-readelf ${elfutils}/bin/eu-readelf \
17
+
--replace vtable-dumper ${vtable-dumper}/bin/vtable-dumper \
18
+
--replace '"ctags"' '"${ctags}/bin/ctags"'
19
+
'';
20
+
21
+
buildInputs = [ elfutils ctags perl vtable-dumper ];
22
+
23
+
preBuild = "mkdir -p $out";
24
+
makeFlags = [ "prefix=$(out)" ];
25
+
26
+
meta = with stdenv.lib; {
27
+
homepage = https://github.com/lvc/abi-dumper;
28
+
description = "Dump ABI of an ELF object containing DWARF debug info";
29
+
license = licenses.lgpl21;
30
+
maintainers = [ maintainers.bhipple ];
31
+
platforms = platforms.all;
32
+
};
33
+
}
+4
-2
pkgs/top-level/all-packages.nix
···
7960
7961
### DEVELOPMENT / TOOLS
7962
0
0
7963
activator = throw ''
7964
Typesafe Activator was removed in 2017-05-08 as the actual package reaches end of life.
7965
···
7968
for more information.
7969
'';
7970
0
0
7971
inherit (callPackage ../development/tools/alloy { })
7972
alloy4
7973
alloy5
7974
alloy;
7975
-
7976
-
adtool = callPackage ../tools/admin/adtool { };
7977
7978
augeas = callPackage ../tools/system/augeas { };
7979
···
7960
7961
### DEVELOPMENT / TOOLS
7962
7963
+
abi-dumper = callPackage ../development/tools/misc/abi-dumper { };
7964
+
7965
activator = throw ''
7966
Typesafe Activator was removed in 2017-05-08 as the actual package reaches end of life.
7967
···
7970
for more information.
7971
'';
7972
7973
+
adtool = callPackage ../tools/admin/adtool { };
7974
+
7975
inherit (callPackage ../development/tools/alloy { })
7976
alloy4
7977
alloy5
7978
alloy;
0
0
7979
7980
augeas = callPackage ../tools/system/augeas { };
7981