mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
tuic: init at 1.0.0
Co-authored-by: NickCao <nickcao@nichi.co>
This commit is contained in:
parent
f4b5cda2db
commit
88497d066b
1052
pkgs/tools/networking/tuic/Cargo.lock
generated
Normal file
1052
pkgs/tools/networking/tuic/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
33
pkgs/tools/networking/tuic/default.nix
Normal file
33
pkgs/tools/networking/tuic/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec{
|
||||
pname = "tuic";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EAimTY";
|
||||
repo = pname;
|
||||
rev = "tuic-server-${version}";
|
||||
hash = "sha256-VoNr91vDqBlt9asT/dwCeYk13UNiDexNNiKwD5DSn8k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -sf ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
# doc test will fail in this version
|
||||
checkFlags = [ "--skip=lib" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/EAimTY/tuic";
|
||||
description = "Delicately-TUICed 0-RTT proxy protocol";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ oluceps ];
|
||||
};
|
||||
}
|
@ -40914,6 +40914,8 @@ with pkgs;
|
||||
|
||||
tubekit-unwrapped = callPackage ../applications/networking/cluster/tubekit { };
|
||||
|
||||
tuic = callPackage ../tools/networking/tuic { };
|
||||
|
||||
resgate = callPackage ../servers/resgate { };
|
||||
|
||||
oversteer = callPackage ../applications/misc/oversteer { };
|
||||
|
Loading…
Reference in New Issue
Block a user