gnu: Add julia-liveserver.

* gnu/packages/julia-xyz.scm (julia-liveserver): New variable.

Change-Id: Ib0a30f3662ded902cc054c5c58d3fff37d456938
This commit is contained in:
Nguyễn Gia Phong 2025-12-15 21:49:26 +09:00 committed by Nguyễn Gia Phong
parent e811d17c9f
commit 30c2e7b5ba
No known key found for this signature in database
GPG key ID: 84B69CE6F3F6B767

View file

@ -4311,6 +4311,43 @@ reduces maintenance, and makes sure your different output formats
are synced with each other.")
(license license:expat)))
(define-public julia-liveserver
(package
(name "julia-liveserver")
(version "1.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaDocs/LiveServer.jl")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "02khwz5fjgr4k5f8hjjid19lwc56jg7cf008mqvlpjj5jf5719f3"))))
(build-system julia-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
;; FIXME: server tests cannot seem to open ports to listen
(add-after 'link-depot 'skip-failing-test
(lambda _
(substitute* "test/runtests.jl"
(("include\\(\"server\\.jl\"\\)") "")))))))
(propagated-inputs
(list julia-http
julia-loggingextras
julia-mimes))
(native-inputs
(list julia-crayons))
(home-page "https://github.com/JuliaDocs/LiveServer.jl")
(synopsis "Simple development server with live-reload capability")
(description
"@code{LiveServer} is a simple and lightweight development web-server
written in Julia, based on @code{julia-http}. It has live-reload capability,
i.e. when modifying a file, every browser (tab) currently displaying
the corresponding page is automatically refreshed.")
(license license:expat)))
(define-public julia-logexpfunctions
(package
(name "julia-logexpfunctions")