backward: init at 1.3
A beautiful stack trace pretty printer for C++
This commit is contained in:
parent
958cdf37c1
commit
f281cfe76d
30
pkgs/development/libraries/backward-cpp/default.nix
Normal file
30
pkgs/development/libraries/backward-cpp/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -7469,6 +7469,8 @@ with pkgs;
|
|||||||
|
|
||||||
babl = callPackage ../development/libraries/babl { };
|
babl = callPackage ../development/libraries/babl { };
|
||||||
|
|
||||||
|
backward-cpp = callPackage ../development/libraries/backward-cpp { };
|
||||||
|
|
||||||
bctoolbox = callPackage ../development/libraries/bctoolbox {
|
bctoolbox = callPackage ../development/libraries/bctoolbox {
|
||||||
mbedtls = mbedtls_1_3;
|
mbedtls = mbedtls_1_3;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user