gnu: Add julia-assetregistry.

* gnu/packages/julia-xyz.scm (julia-assetregistry-0.1.0): New variable.
This commit is contained in:
nixo 2019-10-11 15:11:37 +02:00
parent c4d5c82ac1
commit 805a2051eb
1 changed files with 43 additions and 0 deletions

View File

@ -1041,3 +1041,46 @@ HTTP(S) for establishing the connections.")
(description "Simple utility tool for creating advisory pidfiles (lock
files).")
(license license:expat)))
(define-public julia-assetregistry
(package
(name "julia-assetregistry")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/JuliaGizmos/AssetRegistry.jl")
(commit
(string-append "v" version))))
(file-name "AssetRegistry")
(sha256
(base32 "0xpldj08apvblgng6vndb9311gl6xxbk1f9jha8a661p2zfj0r4b"))))
(propagated-inputs
`(("julia-json" ,julia-json)
("julia-sha" ,julia-sha)
("julia-pidfile" ,julia-pidfile)))
(build-system julia-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'precompile 'fix-toml
(lambda*
(#:key outputs source #:allow-other-keys)
(julia-create-package-toml
outputs source
"AssetRegistry"
"bf4720bc-e11a-5d0c-854e-bdca1663c893"
"0.1.0"
'(("SHA" . "ea8e919c-243c-51af-8825-aaa63cd721ce")
("JSON" . "682c06a0-de6a-54ab-a142-c8b1cf79cde6")
("Pidfile" . "fa939f87-e72e-5be4-a000-7fc836dbe307")))
#t)))))
(home-page "https://github.com/JuliaGizmos/AssetRegistry.jl")
(synopsis "Serve arbitrary files and folders using a global registry")
(description "AssetRegistry allows you to serve arbitrary files and
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)))