From 6838c0d56ebd29e218eaa8690e71c06d3b25ff7f Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 15:12:22 +0200 Subject: [PATCH] gnu: Add julia-mux. * gnu/packages/julia-xyz.scm (julia-mux-0.7.0): New variable. --- gnu/packages/julia-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 5e7bb470ad..a806d6c0f8 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1084,3 +1084,37 @@ folders, using a global registry. Now packages like Mux and IJulia can look up this registry and serve these files while packages like WebIO and InteractBase can register assets to be served to implement web-based UIs.") (license license:expat))) + +(define-public julia-mux + (package + (name "julia-mux") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/JuliaWeb/Mux.jl") + (commit + (string-append "v" version)))) + (file-name "Mux") + (sha256 + (base32 "1wmgh9iji0smx6vkn9y1kiylgci1ay0jrb968b61h6grwk9gxvlj")))) + (propagated-inputs + `(("julia-http" ,julia-http) + ("julia-hiccup" ,julia-hiccup) + ("julia-lazy" ,julia-lazy) + ("julia-websockets" ,julia-websockets) + ("julia-assetregistry" ,julia-assetregistry) + ("julia-parsers" ,julia-parsers) + ("julia-tokenize" ,julia-tokenize) + ("julia-datastructures" ,julia-datastructures) + ("julia-cstparser" ,julia-cstparser))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaWeb/Mux.jl") + (synopsis "Middleware for Julia") + (description "@code{Mux.jl} gives your Julia web services some closure. +Mux allows you to define servers in terms of highly modular and composable +components called middleware, with the aim of making both simple and complex +servers as simple as possible to throw together.") + (license license:expat)))