mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
978ce95208
Signed-off-by: main <magic_rb@redalder.org>
25 lines
600 B
Nix
25 lines
600 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
name = "udp-over-tcp";
|
|
overlay = {udp-over-tcp}:
|
|
final:
|
|
prev:
|
|
{
|
|
udp-over-tcp =
|
|
prev.rustPlatform.buildRustPackage {
|
|
pname = "udp-over-tcp";
|
|
version = "v0.2.0";
|
|
|
|
src = udp-over-tcp;
|
|
|
|
buildFeatures = [ "clap" ];
|
|
cargoBuildFlags = [ "--bin" "udp2tcp" "--bin" "tcp2udp" ];
|
|
|
|
cargoSha256 = "sha256-Fn0AlnTzStJn+vSWCBwd3sAJG9SU7EEVc/reVYZmTp0=";
|
|
verifyCargoDeps = true;
|
|
};
|
|
};
|
|
}
|