gnu: cbatticon: Don't use unstable tarball.
* gnu/packages/admin.scm (cbatticon)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
		
							parent
							
								
									807a30999d
								
							
						
					
					
						commit
						d8d910e6e1
					
				
					 1 changed files with 11 additions and 10 deletions
				
			
		| 
						 | 
					@ -2091,14 +2091,15 @@ produce uniform output across heterogeneous networks.")
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "cbatticon")
 | 
					    (name "cbatticon")
 | 
				
			||||||
    (version "1.6.8")
 | 
					    (version "1.6.8")
 | 
				
			||||||
    (source (origin
 | 
					    (source
 | 
				
			||||||
              (method url-fetch)
 | 
					     (origin
 | 
				
			||||||
              (uri (string-append "https://github.com/valr/"
 | 
					       (method git-fetch)
 | 
				
			||||||
                                  name "/archive/" version ".tar.gz"))
 | 
					       (uri (git-reference
 | 
				
			||||||
 | 
					             (url "https://github.com/valr/cbatticon.git")
 | 
				
			||||||
 | 
					             (commit version)))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
               (base32
 | 
					        (base32 "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6"))
 | 
				
			||||||
                "185lzvaijvyq7y8r7dvizhri0rf9lpc1anfgbbn4lznr1fr3z7rn"))
 | 
					       (file-name (git-file-name name version))))
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f                      ; no tests
 | 
					     `(#:tests? #f                      ; no tests
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue