Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "backward"; 10 version = "1.6"; 11 12 src = fetchFromGitHub { 13 owner = "bombela"; 14 repo = "backward-cpp"; 15 rev = "v${finalAttrs.version}"; 16 sha256 = "sha256-2k5PjwFxgA/2XPqJrPHxgSInM61FBEcieppBx+MAUKw="; 17 }; 18 19 nativeBuildInputs = [ 20 cmake 21 ]; 22 23 meta = { 24 description = "Beautiful stack trace pretty printer for C++"; 25 homepage = "https://github.com/bombela/backward-cpp"; 26 license = lib.licenses.mit; 27 platforms = lib.platforms.all; 28 maintainers = with lib.maintainers; [ ]; 29 }; 30})