Merge master into staging-next
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "abi-compliance-checker-${version}";
|
||||
version = "2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lvc";
|
||||
repo = "abi-compliance-checker";
|
||||
rev = version;
|
||||
sha256 = "1f1f9j2nf9j83sfl2ljadch99v6ha8rq8xm7ax5akc05hjpyckij";
|
||||
};
|
||||
|
||||
buildInputs = [ binutils ctags perl ];
|
||||
propagatedBuildInputs = [ abi-dumper ];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://lvc.github.io/abi-compliance-checker;
|
||||
description = "A tool for checking backward API/ABI compatibility of a C/C++ library";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [ maintainers.bhipple ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
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;
|
||||
};
|
||||
}
|
||||
28
pkgs/development/tools/misc/kdbg/default.nix
Normal file
28
pkgs/development/tools/misc/kdbg/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
|
||||
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kdbg-${version}";
|
||||
version = "3.0.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/kdbg/${version}/${name}.tar.gz";
|
||||
sha256 = "0lxfal6jijdcrf0hc81gmapfmz0kq4569d5qzfm4p72rq9s4r5in";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
buildInputs = [ qt5.qtbase ki18n kconfig kiconthemes kxmlgui kwindowsystem ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.kdbg.org/;
|
||||
description = ''
|
||||
A graphical user interface to gdb, the GNU debugger. It provides an
|
||||
intuitive interface for setting breakpoints, inspecting variables, and
|
||||
stepping through code.
|
||||
'';
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.catern ];
|
||||
};
|
||||
}
|
||||
24
pkgs/development/tools/misc/vtable-dumper/default.nix
Normal file
24
pkgs/development/tools/misc/vtable-dumper/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, libelf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vtable-dumper-${version}";
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user