httptunnel: update to latest rev; fix darwin

version in nixpkgs is at least older than 2012
3b2a6f15b2...d8f91af976
This commit is contained in:
annalee 2023-11-28 11:37:45 +00:00
parent 9aaa0ca445
commit 1b87c9dcd6
No known key found for this signature in database

View file

@ -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;