gnu: optcomp: Don't use unstable tarball.
* gnu/packages/ocaml.scm (optcomp)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
		
							parent
							
								
									e4bb29ddfa
								
							
						
					
					
						commit
						554d98db77
					
				
					 1 changed files with 9 additions and 8 deletions
				
			
		| 
						 | 
					@ -4034,14 +4034,15 @@ Format module of the OCaml standard library.")
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "optcomp")
 | 
					    (name "optcomp")
 | 
				
			||||||
    (version "1.6")
 | 
					    (version "1.6")
 | 
				
			||||||
    (source (origin
 | 
					    (source
 | 
				
			||||||
              (method url-fetch)
 | 
					     (origin
 | 
				
			||||||
              (uri (string-append "https://github.com/diml/optcomp/archive/"
 | 
					       (method git-fetch)
 | 
				
			||||||
                                  version ".tar.gz"))
 | 
					       (uri (git-reference
 | 
				
			||||||
              (sha256
 | 
					             (url "https://github.com/diml/optcomp.git")
 | 
				
			||||||
               (base32
 | 
					             (commit version)))
 | 
				
			||||||
                "0hhhb2gisah1h22zlg5iszbgqxdd7x85cwd57bd4mfkx9l7dh8jh"))
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))))
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "0bm4f3fs9g1yiz48hdxvcjwnrgymwisqilxhmm87ndz81wp47zfy"))))
 | 
				
			||||||
    (build-system ocaml-build-system)
 | 
					    (build-system ocaml-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:ocaml ,ocaml-4.02
 | 
					     `(#:ocaml ,ocaml-4.02
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue