mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
492414af5f
All the packages here are now orphaned.
31 lines
665 B
Nix
31 lines
665 B
Nix
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "backward";
|
|
version = "1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bombela";
|
|
repo = "backward-cpp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-2k5PjwFxgA/2XPqJrPHxgSInM61FBEcieppBx+MAUKw=";
|
|
};
|
|
|
|
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.all;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|