2024-03-02 22:05:30 +01:00
|
|
|
{inputs, ...}: {
|
|
|
|
flake.overlays.udp-over-tcp = final: prev: {
|
|
|
|
udp-over-tcp = prev.rustPlatform.buildRustPackage {
|
|
|
|
pname = "udp-over-tcp";
|
|
|
|
version = "v0.2.0";
|
2023-06-11 23:09:59 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
src = inputs.udp-over-tcp;
|
2023-06-11 23:09:59 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
buildFeatures = ["clap"];
|
|
|
|
cargoBuildFlags = ["--bin" "udp2tcp" "--bin" "tcp2udp"];
|
2023-06-11 23:09:59 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
cargoSha256 = "sha256-b8Q1f1KrCGKe4yySBTCn4bCkg9aL2nu/vMoAY6Kispo=";
|
|
|
|
verifyCargoDeps = true;
|
2023-06-11 23:09:59 +02:00
|
|
|
};
|
2024-03-02 22:05:30 +01:00
|
|
|
};
|
2023-06-11 23:09:59 +02:00
|
|
|
}
|