summary refs log tree commit diff
path: root/pkgs/development/tools/misc/abi-compliance-checker/default.nix
blob: 37d49b1f35bfdd14b4f0fb043a5806729aece8ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }:

stdenv.mkDerivation rec {
  pname = "abi-compliance-checker";
  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;
  };
}