mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 12:17:39 +00:00
rbspy: refactor
This commit is contained in:
parent
dd5ca8a66d
commit
564aa3d529
@ -12,9 +12,9 @@ rustPlatform.buildRustPackage rec {
|
||||
version = "0.18.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
owner = "rbspy";
|
||||
repo = "rbspy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-MfXXqty5ZE7wFbc/qJB/FnMxM+Hzfa4GEGgGKwurXp8=";
|
||||
};
|
||||
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user