2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gsocket";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "1.4.41";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hackerschoice";
|
|
|
|
repo = "gsocket";
|
|
|
|
rev = "v${version}";
|
2023-10-19 13:55:26 +00:00
|
|
|
hash = "sha256-N/dGvEjCkCQvTTWApN0iQi2W3c5ZsaHXnZpjRxSfByY=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Connect like there is no firewall, securely";
|
|
|
|
homepage = "https://www.gsocket.io";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.msm ];
|
|
|
|
};
|
|
|
|
}
|