Merge pull request #280325 from r-ryantm/auto-update/rbspy

rbspy: 0.18.0 -> 0.18.1
This commit is contained in:
Nick Cao 2024-01-11 16:01:54 -05:00 committed by GitHub
commit 8c3db94923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,16 +9,16 @@
rustPlatform.buildRustPackage rec {
pname = "rbspy";
version = "0.18.0";
version = "0.18.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-lVZLUQDDEQcysQI1oRbBCV/1PGvDO4ipH1ngTL6fuY8=";
owner = "rbspy";
repo = "rbspy";
rev = "refs/tags/v${version}";
hash = "sha256-MfXXqty5ZE7wFbc/qJB/FnMxM+Hzfa4GEGgGKwurXp8=";
};
cargoHash = "sha256-PgYeJcCg/WvQR8XEwVqlb/OXueSsMILT7zIvJkSaRSo=";
cargoHash = "sha256-gs9m3hUH75T8kGfKRpPLc1CR1n2Jc+uZKE1SZi25VFA=";
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''
@ -44,16 +44,17 @@ rustPlatform.buildRustPackage rec {
"--skip=test_sample_subprocesses"
];
nativeBuildInputs = [ ruby which ]
++ lib.optional stdenv.isDarwin rustPlatform.bindgenHook;
nativeBuildInputs = [
ruby
which
] ++ lib.optional stdenv.isDarwin rustPlatform.bindgenHook;
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://rbspy.github.io/";
description = ''
A Sampling CPU Profiler for Ruby.
'';
description = "A Sampling CPU Profiler for Ruby";
changelog = "https://github.com/rbspy/rbspy/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ viraptor ];
platforms = platforms.linux ++ platforms.darwin;