nixpkgs/pkgs/development/misc/breakpad/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
877 B
Nix
Raw Normal View History

{ lib, stdenv, fetchgit, zlib }:
2021-01-21 06:37:38 +00:00
let
lss = fetchgit {
url = "https://chromium.googlesource.com/linux-syscall-support";
rev = "v2022.10.12";
hash = "sha256-rF10v5oH4u9i9vnmFCVVl2Ew3h+QTiOsW64HeB0nRQU=";
2021-01-21 06:37:38 +00:00
};
in stdenv.mkDerivation (finalAttrs: {
2021-01-21 06:37:38 +00:00
pname = "breakpad";
version = "2023.01.27";
2021-01-21 06:37:38 +00:00
src = fetchgit {
url = "https://chromium.googlesource.com/breakpad/breakpad";
rev = "v${finalAttrs.version}";
hash = "sha256-8msKz0K10r13TwM3oS6GCIlMdf8k8HBKfKJkPmrUrIs=";
2021-01-21 06:37:38 +00:00
};
buildInputs = [ zlib ];
2021-01-21 06:37:38 +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 ];
2021-01-18 10:54:03 +00:00
platforms = platforms.all;
2021-01-21 06:37:38 +00:00
};
})