mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
Merge pull request #130776 from wheelsandmetal/add-sentry-native-lib
sentry-native: init at 0.4.11
This commit is contained in:
commit
da490f5dbc
2 changed files with 30 additions and 0 deletions
28
pkgs/development/libraries/sentry-native/default.nix
Normal file
28
pkgs/development/libraries/sentry-native/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, curl, breakpad, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sentry-native";
|
||||
version = "0.4.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-native";
|
||||
rev = version;
|
||||
sha256 = "sha256-kasZ5OAtl32Oxed4BkxvHXEFqEvBaBwyslHO7Ga5TRY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ curl breakpad pkg-config ];
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
"-DSENTRY_BREAKPAD_SYSTEM=On"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/getsentry/sentry-native";
|
||||
description = "Sentry SDK for C, C++ and native applications.";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ wheelsandmetal ];
|
||||
};
|
||||
}
|
|
@ -9847,6 +9847,8 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
sentry-native = callPackage ../development/libraries/sentry-native { };
|
||||
|
||||
vtun = callPackage ../tools/networking/vtun {
|
||||
openssl = openssl_1_0_2;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue