gnu: ocaml-charinfo-width: Parameterize download url.
* gnu/packages/ocaml.scm (ocaml-charinfo-width)[source]: Don't hardcode version number in source uri. Declare file-name.
This commit is contained in:
		
							parent
							
								
									f3855bf634
								
							
						
					
					
						commit
						ca12352a3e
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
 | 
			
		||||
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
 | 
			
		||||
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
 | 
			
		||||
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
 | 
			
		||||
;;; Copyright © 2016, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
 | 
			
		||||
;;; Copyright © 2016-2018 Julien Lepiller <julien@lepiller.eu>
 | 
			
		||||
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
 | 
			
		||||
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
			
		||||
| 
						 | 
				
			
			@ -3045,7 +3045,9 @@ library is currently designed for Unicode Standard 3.2.")
 | 
			
		|||
    (version "1.1.0")
 | 
			
		||||
    (source (origin
 | 
			
		||||
              (method url-fetch)
 | 
			
		||||
              (uri "https://bitbucket.org/zandoye/charinfo_width/get/1.1.0.tar.gz")
 | 
			
		||||
              (uri (string-append "https://bitbucket.org/zandoye/charinfo_width"
 | 
			
		||||
                                  "/get/" version ".tar.gz"))
 | 
			
		||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
			
		||||
              (sha256
 | 
			
		||||
               (base32
 | 
			
		||||
                "00bv4p1yqs8y0z4z07wd9w9yyv669dikp9b04dcjbwpiy2wy0086"))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue