diff options
Diffstat (limited to 'pkgs/development/libraries/sentry-native/default.nix')
-rw-r--r-- | pkgs/development/libraries/sentry-native/default.nix | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/pkgs/development/libraries/sentry-native/default.nix b/pkgs/development/libraries/sentry-native/default.nix index a4b096cee39b6..a2be472cc3a5a 100644 --- a/pkgs/development/libraries/sentry-native/default.nix +++ b/pkgs/development/libraries/sentry-native/default.nix @@ -1,18 +1,33 @@ -{ lib, stdenv, fetchFromGitHub, cmake, curl, breakpad, pkg-config }: +{ lib +, stdenv +, fetchFromGitHub +, cmake +, curl +, breakpad +, pkg-config +}: stdenv.mkDerivation rec { pname = "sentry-native"; - version = "0.5.2"; + version = "0.5.3"; src = fetchFromGitHub { owner = "getsentry"; repo = "sentry-native"; rev = version; - sha256 = "sha256-zSu6jcls1PtoSZNp6VGnXrXS5ViiY6ZghPYWaVwPVtw="; + hash = "sha256-zeJGgtqEITK1fQtqFXwh+kpaS9Ky+RSY/uxZ2as8YyM="; }; - nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ curl breakpad ]; + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + curl + breakpad + ]; + cmakeFlags = [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DSENTRY_BREAKPAD_SYSTEM=On" @@ -20,7 +35,8 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/getsentry/sentry-native"; - description = "Sentry SDK for C, C++ and native applications."; + description = "Sentry SDK for C, C++ and native applications"; + changelog = "https://github.com/getsentry/sentry-native/blob/${version}/CHANGELOG.md"; license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ wheelsandmetal ]; |