gnu: Add rust-openssl-0.7.
* gnu/packages/crates-io.scm (rust-openssl-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									f1e4f87e77
								
							
						
					
					
						commit
						b090c2fd80
					
				
					 1 changed files with 38 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -10332,6 +10332,44 @@ Things in odds may move to more appropriate crates if we find them.")
 | 
			
		|||
    (description "OpenSSL bindings.")
 | 
			
		||||
    (license license:asl2.0)))
 | 
			
		||||
 | 
			
		||||
(define-public rust-openssl-0.7
 | 
			
		||||
  (package
 | 
			
		||||
    (inherit rust-openssl-0.10)
 | 
			
		||||
    (name "rust-openssl")
 | 
			
		||||
    (version "0.7.14")
 | 
			
		||||
    (source
 | 
			
		||||
     (origin
 | 
			
		||||
       (method url-fetch)
 | 
			
		||||
       (uri (crate-uri "openssl" version))
 | 
			
		||||
       (file-name
 | 
			
		||||
        (string-append name "-" version ".tar.gz"))
 | 
			
		||||
       (sha256
 | 
			
		||||
        (base32
 | 
			
		||||
         "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4"))))
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:tests? #f      ; Test directory not included in release
 | 
			
		||||
       #:cargo-inputs
 | 
			
		||||
       (("rust-bitflags" ,rust-bitflags-0.7)
 | 
			
		||||
        ("rust-gcc" ,rust-gcc-0.3)
 | 
			
		||||
        ("rust-lazy-static" ,rust-lazy-static-0.2)
 | 
			
		||||
        ("rust-libc" ,rust-libc-0.2)
 | 
			
		||||
        ("rust-openssl-sys" ,rust-openssl-sys-0.7)
 | 
			
		||||
        ("rust-openssl-sys-extras" ,rust-openssl-sys-extras-0.7))
 | 
			
		||||
       #:cargo-development-inputs
 | 
			
		||||
       (("rust-net2" ,rust-net2-0.2)
 | 
			
		||||
        ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
 | 
			
		||||
        ("rust-winapi" ,rust-winapi-0.2)
 | 
			
		||||
        ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))
 | 
			
		||||
       #:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (add-after 'unpack 'fix-cargo-toml
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (substitute* "Cargo.toml"
 | 
			
		||||
               ((", path =.*}") "}"))
 | 
			
		||||
             #t)))))
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     `(("openssl" ,openssl-1.0))))) ; for openssl-sys-extras
 | 
			
		||||
 | 
			
		||||
(define-public rust-openssl-probe-0.1
 | 
			
		||||
  (package
 | 
			
		||||
    (name "rust-openssl-probe")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue