depot/third_party/nixpkgs/pkgs/tools/networking/gsocket/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

25 lines
638 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }:
stdenv.mkDerivation rec {
pname = "gsocket";
version = "1.4.40";
src = fetchFromGitHub {
owner = "hackerschoice";
repo = "gsocket";
rev = "v${version}";
hash = "sha256-pY4tjrMbx+OxkJfr8czo5fbhfcmJbiNX4B+FibzUc7w=";
};
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 ];
};
}