about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/rust/rhack/default.nix
blob: 967a8a9216f7d05a8776f09aa53f7ce8bd1d66a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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";
    mainProgram = "rhack";
    homepage = "https://github.com/nakabonne/rhack";
    license = licenses.bsd3;
    maintainers = with maintainers; [ figsoda ];
  };
}