Unverified Commit ab2ab0ef authored by Emily Trau's avatar Emily Trau Committed by GitHub
Browse files

Merge pull request #270813 from NixOS/backport-270625-to-release-23.11

[Backport release-23.11] httptunnel: update to latest rev; fix darwin
parents 69d668c4 14b51e6b
Loading
Loading
Loading
Loading
+16 −6
Original line number Diff line number Diff line
{ 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;