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)))