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