mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
26 lines
638 B
Nix
26 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 ];
|
|
};
|
|
}
|