11 stdenv.mkDerivation rec {
12 pname = "libsegfault";
13 version = "unstable-2022-11-13";
15 src = fetchFromGitHub {
16 owner = "jonathanpoelen";
18 rev = "8bca5964613695bf829c96f7a3a14dbd8304fe1f";
19 sha256 = "vKtY6ZEkyK2K+BzJCSo30f9MpERpPlUnarFIlvJ1Giw=";
22 env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin) "-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED=1";
35 updateScript = unstableGitUpdater { };
39 description = "Implementation of libSegFault.so with Boost.stracktrace";
40 homepage = "https://github.com/jonathanpoelen/libsegfault";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ jtojnar ];
43 platforms = platforms.unix;