gnu: lci: Don't use unstable tarball.
* gnu/packages/lolcode.scm (lci)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
		
							parent
							
								
									104264cd3a
								
							
						
					
					
						commit
						9ae99a69c0
					
				
					 1 changed files with 12 additions and 10 deletions
				
			
		| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2016 ng0 <ng0@n0.is>
 | 
					;;; Copyright © 2016 ng0 <ng0@n0.is>
 | 
				
			||||||
 | 
					;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -21,7 +22,7 @@
 | 
				
			||||||
  #:use-module (gnu packages python)
 | 
					  #:use-module (gnu packages python)
 | 
				
			||||||
  #:use-module (gnu packages readline)
 | 
					  #:use-module (gnu packages readline)
 | 
				
			||||||
  #:use-module (guix build-system cmake)
 | 
					  #:use-module (guix build-system cmake)
 | 
				
			||||||
  #:use-module (guix download)
 | 
					  #:use-module (guix git-download)
 | 
				
			||||||
  #:use-module ((guix licenses) #:prefix license:)
 | 
					  #:use-module ((guix licenses) #:prefix license:)
 | 
				
			||||||
  #:use-module (guix packages))
 | 
					  #:use-module (guix packages))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,14 +30,15 @@
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "lci")
 | 
					    (name "lci")
 | 
				
			||||||
    (version "0.11.2")
 | 
					    (version "0.11.2")
 | 
				
			||||||
    (source (origin
 | 
					    (source
 | 
				
			||||||
              (method url-fetch)
 | 
					     (origin
 | 
				
			||||||
              (uri (string-append "https://github.com/justinmeza/lci/archive/v"
 | 
					       (method git-fetch)
 | 
				
			||||||
                                  version ".tar.gz"))
 | 
					       (uri (git-reference
 | 
				
			||||||
 | 
					             (url "https://github.com/justinmeza/lci.git")
 | 
				
			||||||
 | 
					             (commit (string-append "v" version))))
 | 
				
			||||||
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
               (base32
 | 
					        (base32 "0syw60b93iajgh91ffchirwwhm2kix2753ibx845kyrhzggmdh2l"))))
 | 
				
			||||||
                "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b"))
 | 
					 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))))
 | 
					 | 
				
			||||||
    (build-system cmake-build-system)
 | 
					    (build-system cmake-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("readline" ,readline)))
 | 
					     `(("readline" ,readline)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue