Merge pull request #138837 from figsoda/rhack

rhack: init at 0.1.0
This commit is contained in:
figsoda 2021-09-21 18:31:27 -04:00 committed by GitHub
commit 7554f83566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "rhack";
version = "0.1.0";
src = fetchFromGitHub {
owner = "nakabonne";
repo = pname;
rev = "v${version}";
sha256 = "088ynf65szaa86pxwwasn3wwi00z5pn7i8w9gh5dyn983z4d8237";
};
cargoSha256 = "sha256-HmBh2qbO/HuNPfHKifq41IB5ResnGka2iaAsnwppm9s=";
meta = with lib; {
description = "Temporary edit external crates that your project depends on";
homepage = "https://github.com/nakabonne/rhack";
license = licenses.bsd3;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -12510,6 +12510,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
rhack = callPackage ../development/tools/rust/rhack { };
inherit (rustPackages) rls;
rustfmt = rustPackages.rustfmt;
rustracer = callPackage ../development/tools/rust/racer {