gnu: Add rust-git2-0.15.
* gnu/packages/crates-io.scm (rust-git2-0.15): New variable. (rust-git2-0.13): Inherit from rust-git2-0.15.
This commit is contained in:
		
							parent
							
								
									819d31c507
								
							
						
					
					
						commit
						dbf2f3ef1a
					
				
					 1 changed files with 33 additions and 4 deletions
				
			
		| 
						 | 
					@ -23720,10 +23720,10 @@ dirty state into your program.")
 | 
				
			||||||
     "This is an internal macro crate for git-version.")
 | 
					     "This is an internal macro crate for git-version.")
 | 
				
			||||||
    (license license:bsd-2)))
 | 
					    (license license:bsd-2)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-git2-0.13
 | 
					(define-public rust-git2-0.15
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-git2")
 | 
					    (name "rust-git2")
 | 
				
			||||||
    (version "0.13.24")
 | 
					    (version "0.15.0")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
| 
						 | 
					@ -23732,13 +23732,13 @@ dirty state into your program.")
 | 
				
			||||||
        (string-append name "-" version ".tar.gz"))
 | 
					        (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "07rlxwvl5iyyqwh0mci5v27lbicf9qiqm60maw1srz7i51x00pl4"))))
 | 
					         "1lf7yxgrbglx5qqvk033n44ymmrg72z271911jwix9d6lgjbx519"))))
 | 
				
			||||||
    (build-system cargo-build-system)
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:cargo-inputs
 | 
					     `(#:cargo-inputs
 | 
				
			||||||
       (("rust-bitflags" ,rust-bitflags-1)
 | 
					       (("rust-bitflags" ,rust-bitflags-1)
 | 
				
			||||||
        ("rust-libc" ,rust-libc-0.2)
 | 
					        ("rust-libc" ,rust-libc-0.2)
 | 
				
			||||||
        ("rust-libgit2-sys" ,rust-libgit2-sys-0.12)
 | 
					        ("rust-libgit2-sys" ,rust-libgit2-sys-0.14)
 | 
				
			||||||
        ("rust-log" ,rust-log-0.4)
 | 
					        ("rust-log" ,rust-log-0.4)
 | 
				
			||||||
        ("rust-openssl-probe" ,rust-openssl-probe-0.1)
 | 
					        ("rust-openssl-probe" ,rust-openssl-probe-0.1)
 | 
				
			||||||
        ("rust-openssl-sys" ,rust-openssl-sys-0.9)
 | 
					        ("rust-openssl-sys" ,rust-openssl-sys-0.9)
 | 
				
			||||||
| 
						 | 
					@ -23746,6 +23746,7 @@ dirty state into your program.")
 | 
				
			||||||
       #:cargo-development-inputs
 | 
					       #:cargo-development-inputs
 | 
				
			||||||
       (("rust-paste" ,rust-paste-1)
 | 
					       (("rust-paste" ,rust-paste-1)
 | 
				
			||||||
        ("rust-structopt" ,rust-structopt-0.3)
 | 
					        ("rust-structopt" ,rust-structopt-0.3)
 | 
				
			||||||
 | 
					        ("rust-tempfile" ,rust-tempfile-3)
 | 
				
			||||||
        ("rust-time" ,rust-time-0.1))))
 | 
					        ("rust-time" ,rust-time-0.1))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)
 | 
					     `(("pkg-config" ,pkg-config)
 | 
				
			||||||
| 
						 | 
					@ -23760,6 +23761,34 @@ repositories.  This library is both threadsafe and memory safe and allows both
 | 
				
			||||||
reading and writing git repositories.")
 | 
					reading and writing git repositories.")
 | 
				
			||||||
    (license (list license:expat license:asl2.0))))
 | 
					    (license (list license:expat license:asl2.0))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-git2-0.13
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit rust-git2-0.15)
 | 
				
			||||||
 | 
					    (name "rust-git2")
 | 
				
			||||||
 | 
					    (version "0.13.24")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (crate-uri "git2" version))
 | 
				
			||||||
 | 
					       (file-name
 | 
				
			||||||
 | 
					        (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "07rlxwvl5iyyqwh0mci5v27lbicf9qiqm60maw1srz7i51x00pl4"))))
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:cargo-inputs
 | 
				
			||||||
 | 
					       (("rust-bitflags" ,rust-bitflags-1)
 | 
				
			||||||
 | 
					        ("rust-libc" ,rust-libc-0.2)
 | 
				
			||||||
 | 
					        ("rust-libgit2-sys" ,rust-libgit2-sys-0.12)
 | 
				
			||||||
 | 
					        ("rust-log" ,rust-log-0.4)
 | 
				
			||||||
 | 
					        ("rust-openssl-probe" ,rust-openssl-probe-0.1)
 | 
				
			||||||
 | 
					        ("rust-openssl-sys" ,rust-openssl-sys-0.9)
 | 
				
			||||||
 | 
					        ("rust-url" ,rust-url-2))
 | 
				
			||||||
 | 
					       #:cargo-development-inputs
 | 
				
			||||||
 | 
					       (("rust-paste" ,rust-paste-1)
 | 
				
			||||||
 | 
					        ("rust-structopt" ,rust-structopt-0.3)
 | 
				
			||||||
 | 
					        ("rust-time" ,rust-time-0.1))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-git2-0.11
 | 
					(define-public rust-git2-0.11
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (inherit rust-git2-0.13)
 | 
					    (inherit rust-git2-0.13)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue