gnu: autojump: Don't use unstable tarball.
* gnu/packages/admin.scm (autojump)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Add ‘make-git-checkout-writable’ phase.
This commit is contained in:
		
							parent
							
								
									7710b8f8ad
								
							
						
					
					
						commit
						24d459ceca
					
				
					 1 changed files with 12 additions and 7 deletions
				
			
		| 
						 | 
					@ -1739,15 +1739,15 @@ limits.")
 | 
				
			||||||
    (version "22.5.1")
 | 
					    (version "22.5.1")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method git-fetch)
 | 
				
			||||||
       (uri (string-append "https://github.com/wting/autojump/archive/"
 | 
					       (uri (git-reference
 | 
				
			||||||
                           "release-v" version ".tar.gz"))
 | 
					             (url "https://github.com/wting/autojump.git")
 | 
				
			||||||
       (file-name (string-append name "-" version ".tar.gz"))
 | 
					             (commit (string-append "release-v" version))))
 | 
				
			||||||
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32 "1l1278g3k1qfrz41pkpjdhsabassb9si2d1bfbcmvbv5h3wmlqk9"))))
 | 
				
			||||||
         "17z9j9936x0nizwrzf664bngh60x5qbvrrf1s5qdzd0f2gdanpvn"))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (native-inputs                      ;for tests
 | 
					    (native-inputs                      ; for tests
 | 
				
			||||||
     `(("python-mock" ,python-mock)
 | 
					     `(("python-mock" ,python-mock)
 | 
				
			||||||
       ("python-pytest" ,python-pytest)))
 | 
					       ("python-pytest" ,python-pytest)))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
| 
						 | 
					@ -1755,6 +1755,11 @@ limits.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'make-git-checkout-writable
 | 
				
			||||||
 | 
					           ;; ‘install.py’ modifies files before installing them.
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (for-each make-file-writable (find-files "."))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
         (delete 'configure)
 | 
					         (delete 'configure)
 | 
				
			||||||
         (delete 'build)
 | 
					         (delete 'build)
 | 
				
			||||||
         (replace 'check
 | 
					         (replace 'check
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue