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>
This commit is contained in:
		
							parent
							
								
									b8088f9186
								
							
						
					
					
						commit
						3f0b76bdcc
					
				
					 1 changed files with 11 additions and 11 deletions
				
			
		| 
						 | 
					@ -1227,9 +1227,8 @@ valuable enough at this time.")
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* "src/Deps.jl"
 | 
					             (substitute* "src/Deps.jl"
 | 
				
			||||||
               (("pip install")
 | 
					               (("pip install")
 | 
				
			||||||
                (string-append (assoc-ref inputs "python")
 | 
					                (string-append (search-input-file inputs "bin/pip")
 | 
				
			||||||
                               "/bin/pip install")))
 | 
					                               " install")))))
 | 
				
			||||||
             #t))
 | 
					 | 
				
			||||||
         (add-after 'link-depot 'remove-javascript-downloads
 | 
					         (add-after 'link-depot 'remove-javascript-downloads
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (substitute* "src/Writers/HTMLWriter.jl"
 | 
					             (substitute* "src/Writers/HTMLWriter.jl"
 | 
				
			||||||
| 
						 | 
					@ -1237,17 +1236,18 @@ valuable enough at this time.")
 | 
				
			||||||
             ;; Removing the javascript downloads causes these tests fail.
 | 
					             ;; Removing the javascript downloads causes these tests fail.
 | 
				
			||||||
             (substitute* "test/examples/tests.jl"
 | 
					             (substitute* "test/examples/tests.jl"
 | 
				
			||||||
               ((".*Main\\.examples_html_doc.*") "")
 | 
					               ((".*Main\\.examples_html_doc.*") "")
 | 
				
			||||||
               ((".*Main\\.examples_html_mathjax3_doc.*") ""))
 | 
					               ((".*Main\\.examples_html_mathjax3_doc.*") "")))))))
 | 
				
			||||||
             #t)))))
 | 
					 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     (list julia-ansicoloredprinters julia-docstringextensions
 | 
					     (list julia-ansicoloredprinters
 | 
				
			||||||
           julia-iocapture julia-json))
 | 
					           julia-docstringextensions
 | 
				
			||||||
 | 
					           julia-iocapture
 | 
				
			||||||
 | 
					           julia-json))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("python" ,python-wrapper)))
 | 
					     (list python-wrapper))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("git" ,git-minimal)
 | 
					     (list git-minimal
 | 
				
			||||||
       ("julia-documentermarkdown" ,julia-documentermarkdown)
 | 
					           julia-documentermarkdown
 | 
				
			||||||
       ("julia-documentertools" ,julia-documentertools)))
 | 
					           julia-documentertools))
 | 
				
			||||||
    (home-page "https://juliadocs.github.io/Documenter.jl")
 | 
					    (home-page "https://juliadocs.github.io/Documenter.jl")
 | 
				
			||||||
    (synopsis "Documentation generator for Julia")
 | 
					    (synopsis "Documentation generator for Julia")
 | 
				
			||||||
    (description "This package provides a documentation generator for Julia.")
 | 
					    (description "This package provides a documentation generator for Julia.")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue