2022-02-21 10:56:18 +01:00
|
|
|
{rustPlatform, fetchFromGitHub, lib}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rbspy";
|
2022-03-02 05:50:25 +01:00
|
|
|
version = "0.11.1";
|
2022-02-21 10:56:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2022-03-02 05:50:25 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-9BeQHwwnirK5Wquj6Tal8yCU/NXZGaPjXZe3cy5m98s=";
|
2022-02-21 10:56:18 +01:00
|
|
|
};
|
|
|
|
|
2022-03-02 05:50:25 +01:00
|
|
|
cargoSha256 = "sha256-DHdfv6210wAkL9vXxLr76ejFWU/eV/q3lmgsYa5Rn54=";
|
|
|
|
doCheck = true;
|
2022-02-21 10:56:18 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://rbspy.github.io/";
|
|
|
|
description = ''
|
|
|
|
A Sampling CPU Profiler for Ruby.
|
|
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ viraptor ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|