gnu: Add julia-mbedtls.
* gnu/packages/julia-xyz.scm (julia-mbedtls): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									3291e4ba97
								
							
						
					
					
						commit
						a72d3ca844
					
				
					 1 changed files with 30 additions and 0 deletions
				
			
		| 
						 | 
					@ -216,6 +216,36 @@ used in autogenerated packages via @code{BinaryBuilder.jl}.")
 | 
				
			||||||
and printing JSON documents.")
 | 
					and printing JSON documents.")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public julia-mbedtls
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "julia-mbedtls")
 | 
				
			||||||
 | 
					    (version "1.0.3")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method git-fetch)
 | 
				
			||||||
 | 
					       (uri (git-reference
 | 
				
			||||||
 | 
					             (url "https://github.com/JuliaLang/MbedTLS.jl")
 | 
				
			||||||
 | 
					             (commit (string-append "v" version))))
 | 
				
			||||||
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "0zjzf2r57l24n3k0gcqkvx3izwn5827iv9ak0lqix0aa5967wvfb"))))
 | 
				
			||||||
 | 
					    (build-system julia-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-before 'install 'disable-network-tests
 | 
				
			||||||
 | 
					           ;; Tries to connect to httpbin.org
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "test/runtests.jl"
 | 
				
			||||||
 | 
					               (("testhost =") "return #"))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (propagated-inputs `(("julia-mbedtls-jll" ,julia-mbedtls-jll)))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/JuliaLang/MbedTLS.jl")
 | 
				
			||||||
 | 
					    (synopsis "Apache's mbed TLS library wrapper")
 | 
				
			||||||
 | 
					    (description "@code{MbedTLS.jl} provides a wrapper around the @code{mbed
 | 
				
			||||||
 | 
					TLS} and cryptography C libary for Julia.")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public julia-mbedtls-jll
 | 
					(define-public julia-mbedtls-jll
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "julia-mbedtls-jll")
 | 
					    (name "julia-mbedtls-jll")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue