diff options
author | Charles Strahan <charles@cstrahan.com> | 2017-07-24 20:02:16 -0400 |
---|---|---|
committer | Charles Strahan <charles@cstrahan.com> | 2017-08-03 00:38:33 -0400 |
commit | f281cfe76d30a3d1aa26c3c168d367900a995b58 (patch) | |
tree | feb03cdf2e9f2e6ff02b9756224ac0ad74bc50ec /pkgs | |
parent | 958cdf37c1185447e5b1eecb26a700c78f4aa442 (diff) | |
download | nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.tar nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.tar.gz nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.tar.bz2 nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.tar.lz nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.tar.xz nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.tar.zst nixpkgs-f281cfe76d30a3d1aa26c3c168d367900a995b58.zip |
backward: init at 1.3
A beautiful stack trace pretty printer for C++
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/backward-cpp/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/backward-cpp/default.nix b/pkgs/development/libraries/backward-cpp/default.nix new file mode 100644 index 00000000000..42621a1792c --- /dev/null +++ b/pkgs/development/libraries/backward-cpp/default.nix @@ -0,0 +1,30 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "backward-${version}"; + version = "1.3"; + + src = fetchFromGitHub { + owner = "bombela"; + repo = "backward-cpp"; + rev = "v${version}"; + sha256 = "1nx77qamal53rq8qxsjzax6ljawb345a1v3cqmfwa0hx26srxcln"; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/include + cp backward.hpp $out/include + + runHook postInstall + ''; + + meta = with lib; { + description = "Beautiful stack trace pretty printer for C++"; + homepage = "https://github.com/bombela/backward-cpp"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ cstrahan ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6dd9427c2ce..3a659f97e3d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7469,6 +7469,8 @@ with pkgs; babl = callPackage ../development/libraries/babl { }; + backward-cpp = callPackage ../development/libraries/backward-cpp { }; + bctoolbox = callPackage ../development/libraries/bctoolbox { mbedtls = mbedtls_1_3; }; |