ra-multiplex: init at 0.2.2

This commit is contained in:
Tom Sydney Kerckhove 2023-06-22 11:46:48 +02:00 committed by Sandro
parent 1331644a5e
commit 5a68f339ee
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, fetchFromGitHub
, makeWrapper
, rustPlatform
, rust-analyzer
}:
rustPlatform.buildRustPackage {
pname = "ra-multiplex";
version = "0.2.2";
src = fetchFromGitHub {
owner = "pr2502";
repo = "ra-multiplex";
rev = "dcb5f83890cb91016b0a1590cc1b732606bb6ec1";
hash = "sha256-Hf4Gj9eXEP4gXiqNV4Jq0oiGLX3DtDF9At1feEZ+bUE=";
};
cargoHash = "sha256-MeUtkPjOsL1kQ2W0Q1/OqhKDVXs4cECkATHISpyfp9U=";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/ra-multiplex \
--suffix PATH ${lib.makeBinPath [ rust-analyzer ]}
'';
meta = with lib; {
description = "A multiplexer for rust-analyzer";
homepage = "https://github.com/pr2502/ra-multiplex";
license = with licenses; [ mit ];
maintainers = with maintainers; [ norfair ];
};
}

View File

@ -16982,6 +16982,8 @@ with pkgs;
ravedude = callPackage ../development/tools/rust/ravedude { };
ra-multiplex = callPackage ../development/tools/rust/ra-multiplex {};
rhack = callPackage ../development/tools/rust/rhack { };
roogle = callPackage ../development/tools/rust/roogle { };
rustfmt = rustPackages.rustfmt;