2023-11-16 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchgit, zlib }:
|
2021-02-05 17:12:51 +00:00
|
|
|
let
|
|
|
|
lss = fetchgit {
|
|
|
|
url = "https://chromium.googlesource.com/linux-syscall-support";
|
2023-11-16 04:20:00 +00:00
|
|
|
rev = "v2022.10.12";
|
|
|
|
hash = "sha256-rF10v5oH4u9i9vnmFCVVl2Ew3h+QTiOsW64HeB0nRQU=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
2023-11-16 04:20:00 +00:00
|
|
|
in stdenv.mkDerivation (finalAttrs: {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "breakpad";
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2023.01.27";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://chromium.googlesource.com/breakpad/breakpad";
|
2023-11-16 04:20:00 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
|
|
|
hash = "sha256-8msKz0K10r13TwM3oS6GCIlMdf8k8HBKfKJkPmrUrIs=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
postUnpack = ''
|
|
|
|
ln -s ${lss} $sourceRoot/src/third_party/lss
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An open-source multi-platform crash reporting system";
|
|
|
|
homepage = "https://chromium.googlesource.com/breakpad";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ berberman ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2023-11-16 04:20:00 +00:00
|
|
|
})
|