python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / sentry-cli / default.nix
blob19d854722235a8d5bf2e962ff11c8e2f8bcf9559
1 { rustPlatform
2 , fetchFromGitHub
3 , lib
4 , openssl
5 , pkg-config
6 , stdenv
7 , Security
8 , SystemConfiguration
9 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "sentry-cli";
12   version = "2.8.1";
14   src = fetchFromGitHub {
15     owner = "getsentry";
16     repo = "sentry-cli";
17     rev = version;
18     sha256 = "sha256-91nrxCqX4BJVP9gKcrWrEgjVkTnwkVKxFA8KjcFjaOs=";
19   };
20   doCheck = false;
22   # Needed to get openssl-sys to use pkgconfig.
23   OPENSSL_NO_VENDOR = 1;
25   buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
26   nativeBuildInputs = [ pkg-config ];
28   cargoSha256 = "sha256-nWhqYvji53KurLGECsgE13Bwxng8CZUfdkv3mhHSl7Y=";
30   meta = with lib; {
31     homepage = "https://docs.sentry.io/cli/";
32     license = licenses.bsd3;
33     description = "A command line utility to work with Sentry";
34     changelog = "https://github.com/getsentry/sentry-cli/raw/${version}/CHANGELOG.md";
35     maintainers = with maintainers; [ rizary ];
36   };