libbacktrace: init at 2018-06-05
This commit is contained in:
parent
26521ad168
commit
a44be00246
23
pkgs/development/libraries/libbacktrace/default.nix
Normal file
23
pkgs/development/libraries/libbacktrace/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, callPackage, fetchFromGitHub, enableStatic ? false, enableShared ? true }:
|
||||
let
|
||||
yesno = b: if b then "yes" else "no";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "libbacktrace";
|
||||
version = "2018-06-05";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ianlancetaylor";
|
||||
repo = pname;
|
||||
rev = "5a99ff7fed66b8ea8f09c9805c138524a7035ece";
|
||||
sha256 = "0mb81x76k335iz3h5nqxsj4z3cz2a13i33bkhpk6iffrjz9i4dhz";
|
||||
};
|
||||
configureFlags = [
|
||||
"--enable-static=${yesno enableStatic}"
|
||||
"--enable-shared=${yesno enableShared}"
|
||||
];
|
||||
meta = with stdenv.lib; {
|
||||
description = "A C library that may be linked into a C/C++ program to produce symbolic backtraces";
|
||||
homepage = https://github.com/ianlancetaylor/libbacktrace;
|
||||
maintainers = with maintainers; [ twey ];
|
||||
license = with licenses; [ bsd3 ];
|
||||
};
|
||||
}
|
@ -12658,6 +12658,8 @@ in
|
||||
|
||||
libb2 = callPackage ../development/libraries/libb2 { };
|
||||
|
||||
libbacktrace = callPackage ../development/libraries/libbacktrace { };
|
||||
|
||||
libbap = callPackage ../development/libraries/libbap {
|
||||
inherit (ocaml-ng.ocamlPackages_4_06) bap ocaml findlib ctypes;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user