[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: julia-media: Create Project.toml file.
From: |
guix-commits |
Subject: |
06/06: gnu: julia-media: Create Project.toml file. |
Date: |
Wed, 16 Feb 2022 06:43:42 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit d96481c072d9a1e059806c509b7bd5911a74ce42
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 16 11:04:53 2022 +0200
gnu: julia-media: Create Project.toml file.
* gnu/packages/julia-xyz.scm (julia-media)[arguments]: Add custom phase
to create Package.toml file.
---
gnu/packages/julia-xyz.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 9a2c20e94c..4090d6d9c4 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -3471,7 +3471,20 @@ resolving them into absolute units.")
;; Package without Project.toml
(arguments
'(#: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
(list julia-macrotools))
(home-page "https://github.com/JunoLab/Media.jl")
- branch master updated (b545d22364 -> d96481c072), guix-commits, 2022/02/16
- 01/06: gnu: qemu: Skip some tests on riscv64-linux., guix-commits, 2022/02/16
- 03/06: gnu: Add julia-bfloat16s., guix-commits, 2022/02/16
- 06/06: gnu: julia-media: Create Project.toml file.,
guix-commits <=
- 02/06: gnu: Add julia-juno., guix-commits, 2022/02/16
- 04/06: gnu: Add julia-cenum., guix-commits, 2022/02/16
- 05/06: gnu: Add julia-gpuarrays., guix-commits, 2022/02/16