depot/third_party/nixpkgs/pkgs/development/misc/breakpad/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
874 B
Nix

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