sentry-cli: init at 1.66.0 (#126228)
This commit is contained in:
parent
beb679bcf8
commit
15353873f2
40
pkgs/development/tools/sentry-cli/default.nix
Normal file
40
pkgs/development/tools/sentry-cli/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ rustPlatform
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, openssl
|
||||
, file
|
||||
, rpm
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, curl
|
||||
, Security
|
||||
, runCommand
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sentry-cli";
|
||||
version = "1.66.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-cli";
|
||||
rev = version;
|
||||
sha256 = "sha256-ivQBn5GGb64Jq0gpywAg20309QQMpasg/Bu5sHKj02Y=";
|
||||
};
|
||||
doCheck = false;
|
||||
|
||||
# Needed to get openssl-sys to use pkgconfig.
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
buildInputs = [ openssl file rpm ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
cargoSha256 = "sha256-xS88KZWYkg3v8TJZUVVgQhR++CrZGD0DQnLPktSUJQk=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://docs.sentry.io/cli/";
|
||||
license = licenses.bsd3;
|
||||
description = "A command line utility to work with Sentry.";
|
||||
maintainers = with maintainers; [ rizary ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -9599,6 +9599,10 @@ in
|
|||
inherit (python27Packages) ldap;
|
||||
};
|
||||
|
||||
sentry-cli = callPackage ../development/tools/sentry-cli {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
vtun = callPackage ../tools/networking/vtun {
|
||||
openssl = openssl_1_0_2;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue