Skip to content

Commit

Permalink
usr: cli: clashctl: fix name (original name is tooooo looooong)
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed May 25, 2024
1 parent 8eb3818 commit ca53780
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions usr/cli/clashctl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "clashctl";
version = "b09e1faf80f1a25fa855499d8b34d36491e5a081";
rustPlatform.buildRustPackage {
name = "clashctl";

src = fetchFromGitHub {
# owner = "https://github.com/George-Miao/clashctl";
owner = "George-Miao";
repo = pname;
rev = version;
repo = "clashctl";
rev = "b09e1faf80f1a25fa855499d8b34d36491e5a081";
hash = "sha256-c7y64SsZEKdC8+umCY8+XBwxAHxn4YpqR48ASbHpkdM=";
};

cargoHash = "sha256-VEQ1amZxCTV4jefN20d8VV85/IaJivl0s8RVclV+jqg=";
cargoHash = "sha256-2d+phmMJeHZsJy300GwUAnh8KTGzpHCCIg8x4Wr8ytE=";

doCheck = false;

Expand Down

0 comments on commit ca53780

Please sign in to comment.