at 22.05-pre 37 lines 962 B view raw
1{ rustPlatform 2, fetchFromGitHub 3, lib 4, openssl 5, pkg-config 6, stdenv 7, Security 8, SystemConfiguration 9}: 10rustPlatform.buildRustPackage rec { 11 pname = "sentry-cli"; 12 version = "1.71.0"; 13 14 src = fetchFromGitHub { 15 owner = "getsentry"; 16 repo = "sentry-cli"; 17 rev = version; 18 sha256 = "0iw6skcxnqqa0vj5q1ra855gxgjj9a26hj85nm9p49ai5l85bkgv"; 19 }; 20 doCheck = false; 21 22 # Needed to get openssl-sys to use pkgconfig. 23 OPENSSL_NO_VENDOR = 1; 24 25 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 26 nativeBuildInputs = [ pkg-config ]; 27 28 cargoSha256 = "0n9354mm97z3n001airipq8k58i7lg20p2m9yfx9y0zhsagyhmj8"; 29 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 }; 37}