summary refs log tree commit diff
path: root/gnu/packages/julia-xyz.scm
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2022-01-04 23:47:43 +0100
committerEfraim Flashner <efraim@flashner.co.il>2022-01-10 15:15:32 +0200
commit3f0b76bdcc19cbb5cb577c86b9e4119daa4008fa (patch)
tree656b3e7f8cd3e00a46d4162b441596a79a5dd8c0 /gnu/packages/julia-xyz.scm
parentb8088f9186727233269761d4e7c9ddbb4a900dfa (diff)
downloadguix-3f0b76bdcc19cbb5cb577c86b9e4119daa4008fa.tar.gz
gnu: julia-documenter: Adjust style.
* gnu/packages/julia-xyz.scm (julia-documenter)[propagated-inputs] Remove labels.
[inputs, native-inputs]: Remove labels.
[arguments]: Remove unnecessary return '#t'. Use search-input-file to
find pip.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/julia-xyz.scm')
-rw-r--r--gnu/packages/julia-xyz.scm22
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 8ac9c30b0f..897c189afb 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1227,9 +1227,8 @@ valuable enough at this time.")
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "src/Deps.jl"
                (("pip install")
-                (string-append (assoc-ref inputs "python")
-                               "/bin/pip install")))
-             #t))
+                (string-append (search-input-file inputs "bin/pip")
+                               " install")))))
          (add-after 'link-depot 'remove-javascript-downloads
            (lambda _
              (substitute* "src/Writers/HTMLWriter.jl"
@@ -1237,17 +1236,18 @@ valuable enough at this time.")
              ;; Removing the javascript downloads causes these tests fail.
              (substitute* "test/examples/tests.jl"
                ((".*Main\\.examples_html_doc.*") "")
-               ((".*Main\\.examples_html_mathjax3_doc.*") ""))
-             #t)))))
+               ((".*Main\\.examples_html_mathjax3_doc.*") "")))))))
     (propagated-inputs
-     (list julia-ansicoloredprinters julia-docstringextensions
-           julia-iocapture julia-json))
+     (list julia-ansicoloredprinters
+           julia-docstringextensions
+           julia-iocapture
+           julia-json))
     (inputs
-     `(("python" ,python-wrapper)))
+     (list python-wrapper))
     (native-inputs
-     `(("git" ,git-minimal)
-       ("julia-documentermarkdown" ,julia-documentermarkdown)
-       ("julia-documentertools" ,julia-documentertools)))
+     (list git-minimal
+           julia-documentermarkdown
+           julia-documentertools))
     (home-page "https://juliadocs.github.io/Documenter.jl")
     (synopsis "Documentation generator for Julia")
     (description "This package provides a documentation generator for Julia.")