nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rhack";
9 version = "0.1.0";
10
11 src = fetchFromGitHub {
12 owner = "nakabonne";
13 repo = "rhack";
14 rev = "v${version}";
15 sha256 = "088ynf65szaa86pxwwasn3wwi00z5pn7i8w9gh5dyn983z4d8237";
16 };
17
18 cargoHash = "sha256-84dVBNvo45zG7s/tMY3O0Zv69CdcvjZCZX8siie6QnI=";
19
20 meta = {
21 description = "Temporary edit external crates that your project depends on";
22 mainProgram = "rhack";
23 homepage = "https://github.com/nakabonne/rhack";
24 license = lib.licenses.bsd3;
25 maintainers = [ ];
26 };
27}