me
/
guix
Archived
1
0
Fork 0

gnu: julia-media: Create Project.toml file.

* gnu/packages/julia-xyz.scm (julia-media)[arguments]: Add custom phase
to create Package.toml file.
Efraim Flashner 2022-02-16 11:04:53 +02:00
parent 5acb9b70bd
commit d96481c072
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 14 additions and 1 deletions

View File

@ -3471,7 +3471,20 @@ resolving them into absolute units.")
;; Package without Project.toml ;; Package without Project.toml
(arguments (arguments
'(#:julia-package-name "Media" '(#:julia-package-name "Media"
#:julia-package-uuid "e89f7d12-3494-54d1-8411-f7d8b9ae1f27")) #:julia-package-uuid "e89f7d12-3494-54d1-8411-f7d8b9ae1f27"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'create-package-toml
(lambda* (#:key julia-package-name julia-package-uuid #:allow-other-keys)
(with-output-to-file "Project.toml"
(lambda _
(format #t
"name = \"~a\"~@
uuid = \"~a\"~@
[deps]~@
MacroTools = \"1914dd2f-81c6-5fcd-8719-6d5c9610ff09\"~%"
julia-package-name
julia-package-uuid))))))))
(propagated-inputs (propagated-inputs
(list julia-macrotools)) (list julia-macrotools))
(home-page "https://github.com/JunoLab/Media.jl") (home-page "https://github.com/JunoLab/Media.jl")