dotfiles/overlays/udp-over-tcp.nix
main 978ce95208
Update inputs
Signed-off-by: main <magic_rb@redalder.org>
2022-11-30 23:04:07 +01:00

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;
};
};
}