mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
20 lines
480 B
Nix
20 lines
480 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|