breakpad: init at unstable-3b3469e

This commit is contained in:
Potato Hatsue 2021-01-21 14:37:38 +08:00 committed by Sandro Jäckel
parent 448484345d
commit d3b7a30e15
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchgit }:
let
lss = fetchgit {
url = "https://chromium.googlesource.com/linux-syscall-support";
rev = "d9ad2969b369a9f1c455fef92d04c7628f7f9eb8";
sha256 = "952dv+ZE1ge/WF5RyHmEqht+AofoRHKAeFmGasVF9BA=";
};
in stdenv.mkDerivation {
pname = "breakpad";
version = "unstable-3b3469e";
src = fetchgit {
url = "https://chromium.googlesource.com/breakpad/breakpad";
rev = "3b3469e9ed0de3d02e4450b9b95014a4266cf2ff";
sha256 = "bRGOBrGPK+Zxp+KK+E5MFkYlDUNVhVeInVSwq+eCAF0=";
};
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 = with platforms; linux ++ darwin ++ windows;
};
}

View file

@ -156,6 +156,8 @@ in
bacnet-stack = callPackage ../tools/networking/bacnet-stack {};
breakpad = callPackage ../development/misc/breakpad {};
# Zip file format only allows times after year 1980, which makes e.g. Python wheel building fail with:
# ValueError: ZIP does not support timestamps before 1980
ensureNewerSourcesForZipFilesHook = ensureNewerSourcesHook { year = "1980"; };