Skip to content

Commit

Permalink
guile-websocket: init at 0.2.0 (NixOS#381168)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Feb 14, 2025
2 parents 3342df9 + 512644d commit 52fc66b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3065,6 +3065,12 @@
githubId = 19915050;
name = "binarycat";
};
binarydigitz01 = {
email = "[email protected]";
github = "binarydigitz01";
githubId = 47600778;
name = "Arnav Vijaywargiya";
};
binary-eater = {
email = "[email protected]";
github = "Binary-Eater";
Expand Down
40 changes: 40 additions & 0 deletions pkgs/by-name/gu/guile-websocket/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchurl,
guile,
guile-gnutls,
texinfo,
pkg-config,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "guile-websocket";
version = "0.2.0";

src = fetchurl {
url = "https://files.dthompson.us/releases/guile-websocket/guile-websocket-${finalAttrs.version}.tar.gz";
hash = "sha256-7jxj+I5WpqtGu99zrzl92eIZUThy69A4CsLzXnp4dpA=";
};

strictDeps = true;
nativeBuildInputs = [
guile
pkg-config
texinfo
];
buildInputs = [
guile
guile-gnutls
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];

meta = {
description = "Provides an implementation of the WebSocket protocol in Guile";
homepage = "https://dthompson.us/projects/guile-websocket.html";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ binarydigitz01 ];
platforms = lib.platforms.all;
};
})

0 comments on commit 52fc66b

Please sign in to comment.