wstunnel: unstable-2019-01-28 -> unstable-2020-07-12

This commit is contained in:
Gabriel Ebner 2020-08-22 16:32:39 +02:00
parent 280147c510
commit 58ff57004f

View File

@ -2,28 +2,21 @@
, classy-prelude, cmdargs, connection, hslogger, mtl, network , classy-prelude, cmdargs, connection, hslogger, mtl, network
, network-conduit-tls, stdenv, streaming-commons, text , network-conduit-tls, stdenv, streaming-commons, text
, unordered-containers, websockets , unordered-containers, websockets
, hspec, iproute
, lib, fetchFromGitHub, fetchpatch , lib, fetchFromGitHub, fetchpatch
}: }:
mkDerivation rec { mkDerivation rec {
pname = "wstunnel"; pname = "wstunnel";
version = "unstable-2019-01-28"; version = "unstable-2020-07-12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "erebe"; owner = "erebe";
repo = pname; repo = pname;
rev = "78cc5a5f1aa4dbcb25fa9b0efc9cfef3640672e4"; rev = "093a01fa3a34eee5efd8f827900e64eab9d16c05";
sha256 = "17y3yn7qg1h7jx9xs041sw63g51vyns236f60d2m2mghi49lm9i2"; sha256 = "17p9kq0ssz05qzl6fyi5a5fjbpn4bxkkwibb9si3fhzrxc508b59";
}; };
patches = [
# Support GHC 8.6 https://github.com/erebe/wstunnel/pull/18
(fetchpatch {
url = "https://github.com/erebe/wstunnel/commit/8f348fea4dbf75874d5d930334377843763335ab.patch";
sha256 = "0a66jx7k97j3iyr7j5npbyq1lkhzz74r81mkas4nig7z3hny1gn9";
})
];
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
@ -31,13 +24,14 @@ mkDerivation rec {
async base base64-bytestring binary bytestring classy-prelude async base base64-bytestring binary bytestring classy-prelude
connection hslogger mtl network network-conduit-tls connection hslogger mtl network network-conduit-tls
streaming-commons text unordered-containers websockets streaming-commons text unordered-containers websockets
iproute
]; ];
executableHaskellDepends = [ executableHaskellDepends = [
base bytestring classy-prelude cmdargs hslogger text base bytestring classy-prelude cmdargs hslogger text
]; ];
testHaskellDepends = [ base text ]; testHaskellDepends = [ base text hspec ];
homepage = "https://github.com/erebe/wstunnel"; homepage = "https://github.com/erebe/wstunnel";
description = "UDP and TCP tunnelling over WebSocket"; description = "UDP and TCP tunnelling over WebSocket";