9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
16 rev = "tuic-server-${version}";
17 hash = "sha256-VoNr91vDqBlt9asT/dwCeYk13UNiDexNNiKwD5DSn8k=";
20 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
21 with darwin.apple_sdk.frameworks;
28 ln -sf ${./Cargo.lock} Cargo.lock
31 cargoLock.lockFile = ./Cargo.lock;
33 # doc test will fail in this version
34 checkFlags = [ "--skip=lib" ];
37 homepage = "https://github.com/EAimTY/tuic";
38 description = "Delicately-TUICed 0-RTT proxy protocol";
39 license = licenses.gpl3Only;
40 platforms = platforms.unix;
41 maintainers = with maintainers; [ oluceps ];