Merge pull request #72161 from Twey/libbacktrace

libbacktrace: init at 2018-06-05

authored by

Ryan Mulligan and committed by
GitHub
d6d1c121 92a322a0

+25
+23
pkgs/development/libraries/libbacktrace/default.nix
··· 1 + { stdenv, callPackage, fetchFromGitHub, enableStatic ? false, enableShared ? true }: 2 + let 3 + yesno = b: if b then "yes" else "no"; 4 + in stdenv.mkDerivation rec { 5 + pname = "libbacktrace"; 6 + version = "2020-05-13"; 7 + src = fetchFromGitHub { 8 + owner = "ianlancetaylor"; 9 + repo = pname; 10 + rev = "9b7f216e867916594d81e8b6118f092ac3fcf704"; 11 + sha256 = "0qr624v954gnfkmpdlfk66sxz3acyfmv805rybsaggw5gz5sd1nh"; 12 + }; 13 + configureFlags = [ 14 + "--enable-static=${yesno enableStatic}" 15 + "--enable-shared=${yesno enableShared}" 16 + ]; 17 + meta = with stdenv.lib; { 18 + description = "A C library that may be linked into a C/C++ program to produce symbolic backtraces"; 19 + homepage = https://github.com/ianlancetaylor/libbacktrace; 20 + maintainers = with maintainers; [ twey ]; 21 + license = with licenses; [ bsd3 ]; 22 + }; 23 + }
+2
pkgs/top-level/all-packages.nix
··· 13291 13291 13292 13292 libb2 = callPackage ../development/libraries/libb2 { }; 13293 13293 13294 + libbacktrace = callPackage ../development/libraries/libbacktrace { }; 13295 + 13294 13296 libbap = callPackage ../development/libraries/libbap { 13295 13297 inherit (ocaml-ng.ocamlPackages_4_06) bap ocaml findlib ctypes; 13296 13298 };