summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2023-11-28 11:37:45 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-29 04:33:12 +0000
commit14b51e6bd72d004643abd2b121f496f52051e0f5 (patch)
treecf13de28a4b383ceb4e5e8310f22c5fe17647cb3
parentMerge pull request #270812 from NixOS/backport-270137-to-release-23.11 (diff)
downloadnixpkgs-origin/backport-270625-to-release-23.11.tar.gz
httptunnel: update to latest rev; fix darwinorigin/backport-270625-to-release-23.11
version in nixpkgs is at least older than 2012 https://github.com/larsbrinkhoff/httptunnel/compare/3b2a6f15b252a5dfccc067ebae47b93a9b9f2d14...d8f91af976c97a6006a5bd1ad7149380c39ba454 (cherry picked from commit 1b87c9dcd640d19dd0bdc2c16e6e4c7b199c2db6)
-rw-r--r--pkgs/tools/networking/httptunnel/default.nix22
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/tools/networking/httptunnel/default.nix b/pkgs/tools/networking/httptunnel/default.nix
index 13ef64175358..c8ff4fa7719d 100644
--- a/pkgs/tools/networking/httptunnel/default.nix
+++ b/pkgs/tools/networking/httptunnel/default.nix
@@ -1,17 +1,27 @@
-{ lib, stdenv, fetchurl }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+}:
stdenv.mkDerivation rec {
- version = "3.3";
+ version = "3.3-unstable-2023-05-08";
pname = "httptunnel";
- src = fetchurl {
- url = "http://www.nocrew.org/software/httptunnel/${pname}-${version}.tar.gz";
- sha256 = "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql";
+ src = fetchFromGitHub {
+ owner = "larsbrinkhoff";
+ repo = "httptunnel";
+ rev = "d8f91af976c97a6006a5bd1ad7149380c39ba454";
+ hash = "sha256-fUaVHE3nxq3fU7DYCvaQTOoMzax/qFH8cMegFLLybNk=";
};
+ nativeBuildInputs = [
+ autoreconfHook
+ ];
+
meta = with lib; {
description = "Creates a bidirectional virtual data connection tunnelled in HTTP requests";
- homepage = "http://www.nocrew.org/software/httptunnel";
+ homepage = "http://www.gnu.org/software/httptunnel/httptunnel.html";
license = licenses.gpl2;
maintainers = with maintainers; [ koral ];
platforms = platforms.unix;