dotfiles/overlays/udp-over-tcp.nix

17 lines
426 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;
};
};
}