depot/third_party/nixpkgs/pkgs/development/tools/rust/rhack/default.nix
Default email d9e13ed064 Project import generated by Copybara.
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
2021-09-22 23:38:15 +08:00

22 lines
599 B
Nix

{ 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 ];
};
}