about summary refs log tree commit diff
path: root/pkgs/tools/networking/udptunnel/default.nix
blob: b12ce573d1c4107e8b78f1eb3cbc0d3e0a421595 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl }:

stdenv.mkDerivation {
  name = "udptunnel-19";

  src = fetchurl {
    url = http://udptunnel.googlecode.com/files/udptunnel-r19.tar.gz;
    sha1 = "51edec3b63b659229bcf92f6157568d3b074ede0";
  };

  installPhase = ''
    mkdir -p $out/bin $out/share/udptunnel
    cp udptunnel $out/bin
    cp README COPYING* $out/share/udptunnel
  '';

  meta = {
    homepage = http://code.google.com/p/udptunnel/;
    description = "Tunnels TCP over UDP packets";
    license = stdenv.lib.licenses.gpl3Plus;
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}