2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2013-05-08 22:50:54 +02:00
|
|
|
|
2021-08-01 20:11:18 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "udptunnel";
|
|
|
|
version = "19";
|
2013-05-08 22:50:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-01 20:11:18 +02:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/udptunnel/udptunnel-r${version}.tar.gz";
|
2017-10-27 01:44:19 +02:00
|
|
|
sha256 = "1hkrn153rdyrp9g15z4d5dq44cqlnby2bfplp6z0g3862lnv7m3l";
|
2013-05-08 22:50:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 14:56:10 +02:00
|
|
|
mkdir -p $out/bin $out/share/udptunnel
|
2013-05-08 22:50:54 +02:00
|
|
|
cp udptunnel $out/bin
|
|
|
|
cp README COPYING* $out/share/udptunnel
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://code.google.com/archive/p/udptunnel/";
|
2013-05-08 22:50:54 +02:00
|
|
|
description = "Tunnels TCP over UDP packets";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
|
|
|
platforms = with lib.platforms; linux;
|
2013-05-08 22:50:54 +02:00
|
|
|
};
|
|
|
|
}
|