Files
nixpkgs/pkgs/by-name/gs/gsocket/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

32 lines
672 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
openssl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gsocket";
version = "1.4.43";
src = fetchFromGitHub {
owner = "hackerschoice";
repo = "gsocket";
rev = "v${finalAttrs.version}";
hash = "sha256-7ph7YaY8rbfzvEh1ABgl3Jg15d6WBP4pywFn/nXjPKY=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl ];
dontDisableStatic = true;
meta = {
description = "Connect like there is no firewall, securely";
homepage = "https://www.gsocket.io";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.msm ];
};
})