8 rustPlatform.buildRustPackage rec{
12 src = fetchFromGitHub {
15 rev = "tuic-server-${version}";
16 hash = "sha256-VoNr91vDqBlt9asT/dwCeYk13UNiDexNNiKwD5DSn8k=";
19 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
24 ln -sf ${./Cargo.lock} Cargo.lock
27 cargoLock.lockFile = ./Cargo.lock;
29 # doc test will fail in this version
30 checkFlags = [ "--skip=lib" ];
33 homepage = "https://github.com/EAimTY/tuic";
34 description = "Delicately-TUICed 0-RTT proxy protocol";
35 license = licenses.gpl3Only;
36 platforms = platforms.unix;
37 maintainers = with maintainers; [ oluceps ];