nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 openssl,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "gsocket";
11 version = "1.4.43";
12
13 src = fetchFromGitHub {
14 owner = "hackerschoice";
15 repo = "gsocket";
16 rev = "v${version}";
17 hash = "sha256-7ph7YaY8rbfzvEh1ABgl3Jg15d6WBP4pywFn/nXjPKY=";
18 };
19
20 nativeBuildInputs = [ autoreconfHook ];
21 buildInputs = [ openssl ];
22 dontDisableStatic = true;
23
24 meta = with lib; {
25 description = "Connect like there is no firewall, securely";
26 homepage = "https://www.gsocket.io";
27 license = licenses.bsd2;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.msm ];
30 };
31}