From 6cac4996688b1d465b8b3923d3083f4aac9ea723 Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 15:06:59 +0200 Subject: [PATCH] gnu: Add julia-websockets. * gnu/packages/julia-xyz.scm (julia-websockets-1.5.2): New variable. --- gnu/packages/julia-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 78a07246a9..53c3a2af53 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -991,3 +991,29 @@ packages faster, maybe. It supports specifying glue code in packages which will load automatically when a another package is loaded, so that explicit dependencies (and long load times) can be avoided.") (license license:expat))) + +(define-public julia-websockets + (package + (name "julia-websockets") + (version "1.5.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/JuliaWeb/WebSockets.jl") + (commit + (string-append "v" version)))) + (file-name "WebSockets") + (sha256 + (base32 "1fpvskbax88x059lwnl211ps13j8s2jf97agwwr69sir11i0xh51")))) + (propagated-inputs + `(("julia-http" ,julia-http) + ("julia-requires" ,julia-requires))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaWeb/WebSockets.jl") + (synopsis "WebSockets library for Julia") + (description "Server and client side Websockets protocol in Julia. +WebSockets is a small overhead message protocol layered over TCP. It uses +HTTP(S) for establishing the connections.") + (license license:expat)))