dotfiles/overlays/udp-over-tcp.nix

20 lines
480 B
Nix
Raw Normal View History

{ inputs, ... }:
{
flake.overlays.udp-over-tcp =
final: prev: {
udp-over-tcp =
prev.rustPlatform.buildRustPackage {
pname = "udp-over-tcp";
version = "v0.2.0";
src = inputs.udp-over-tcp;
buildFeatures = [ "clap" ];
cargoBuildFlags = [ "--bin" "udp2tcp" "--bin" "tcp2udp" ];
cargoSha256 = "sha256-b8Q1f1KrCGKe4yySBTCn4bCkg9aL2nu/vMoAY6Kispo=";
verifyCargoDeps = true;
};
};
}