gnu: ocamlbuild: Don't use unstable tarball.
* gnu/packages/ocaml.scm (ocamlbuild)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
		
							parent
							
								
									f6e3f0f9b1
								
							
						
					
					
						commit
						8da3f78e57
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		| 
						 | 
					@ -8,7 +8,7 @@
 | 
				
			||||||
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
;;; Copyright © 2016-2018 Julien Lepiller <julien@lepiller.eu>
 | 
					;;; Copyright © 2016-2018 Julien Lepiller <julien@lepiller.eu>
 | 
				
			||||||
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 | 
					;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 | 
				
			||||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
					;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;; Copyright © 2018 Peter Kreye <kreyepr@gmail.com>
 | 
					;;; Copyright © 2018 Peter Kreye <kreyepr@gmail.com>
 | 
				
			||||||
;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
 | 
					;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
 | 
				
			||||||
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
 | 
					;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
 | 
				
			||||||
| 
						 | 
					@ -265,14 +265,15 @@ functional, imperative and object-oriented styles of programming.")
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ocamlbuild")
 | 
					    (name "ocamlbuild")
 | 
				
			||||||
    (version "0.13.1")
 | 
					    (version "0.13.1")
 | 
				
			||||||
    (source (origin
 | 
					    (source
 | 
				
			||||||
              (method url-fetch)
 | 
					     (origin
 | 
				
			||||||
              (uri (string-append "https://github.com/ocaml/ocamlbuild/archive/"
 | 
					       (method git-fetch)
 | 
				
			||||||
                                  version ".tar.gz"))
 | 
					       (uri (git-reference
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
					             (url "https://github.com/ocaml/ocamlbuild.git")
 | 
				
			||||||
              (sha256
 | 
					             (commit version)))
 | 
				
			||||||
               (base32
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
                "1320cfkixs1xlng5av04pa5qjb3ynvi2kl3k1ngqzg5fpi29b0vr"))))
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "0v37vjvdqw35yvj8ipmlzmwf1jhip0hbsmcbdcn9cnj12p3mr6k7"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:test-target "test"
 | 
					     `(#:test-target "test"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue