From 719b910eb3789055bbda8b8d7a9202990a943cd4 Mon Sep 17 00:00:00 2001 From: koral Date: Wed, 17 Sep 2014 19:55:45 +0200 Subject: [PATCH] Added httptunnel package. --- pkgs/tools/networking/httptunnel/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/tools/networking/httptunnel/default.nix diff --git a/pkgs/tools/networking/httptunnel/default.nix b/pkgs/tools/networking/httptunnel/default.nix new file mode 100644 index 000000000000..c47dd03cb9d0 --- /dev/null +++ b/pkgs/tools/networking/httptunnel/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + version = "3.3"; + name = "httptunnel-${version}"; + + src = fetchurl { + url = "http://www.nocrew.org/software/httptunnel/${name}.tar.gz"; + sha256 = "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"; + }; + + meta = with stdenv.lib; { + description = "Creates a bidirectional virtual data connection tunnelled in HTTP requests"; + homepage = http://www.nocrew.org/software/httptunnel; + license = licenses.gpl2; + maintainers = with maintainers; [ koral ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4258a96503f5..428a3fc0effb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1349,6 +1349,8 @@ let httpfs2 = callPackage ../tools/filesystems/httpfs { }; + httptunnel = callPackage ../tools/networking/httptunnel { }; + # FIXME: This Hydra snapshot is outdated and depends on the `nixPerl', # which no longer exists. #