Unverified Commit 52fc66b2 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

guile-websocket: init at 0.2.0 (#381168)

parents 3342df91 512644d8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3065,6 +3065,12 @@
    githubId = 19915050;
    name = "binarycat";
  };
  binarydigitz01 = {
    email = "binarydigitz01@protonmail.com";
    github = "binarydigitz01";
    githubId = 47600778;
    name = "Arnav Vijaywargiya";
  };
  binary-eater = {
    email = "sergeantsagara@protonmail.com";
    github = "Binary-Eater";
+40 −0
Original line number Diff line number Diff line
{
  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;
  };
})