diff options
author | figsoda <figsoda@pm.me> | 2021-09-21 15:47:42 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-09-21 15:47:42 -0400 |
commit | ccb944e58aa542e03d469296b284f00c6bb61e07 (patch) | |
tree | 82c44a43b043de959eff205256db281a224e130b /pkgs/development/tools/rust/rhack | |
parent | 02378673ac3ac563ab419f78b5db60e30f103162 (diff) |
rhack: init at 0.1.0
Diffstat (limited to 'pkgs/development/tools/rust/rhack')
-rw-r--r-- | pkgs/development/tools/rust/rhack/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/rhack/default.nix b/pkgs/development/tools/rust/rhack/default.nix new file mode 100644 index 0000000000000..d141c43dd9149 --- /dev/null +++ b/pkgs/development/tools/rust/rhack/default.nix @@ -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 ]; + }; +} |