gnu: openjdk9: Build from hg.
* gnu/packages/java.scm (openjdk9)[source]: Use HG-DOWNLOAD. [homepage]: Update. This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62071> for OpenJDK 9.
This commit is contained in:
		
							parent
							
								
									923d23a23c
								
							
						
					
					
						commit
						b29954509f
					
				
					 1 changed files with 10 additions and 11 deletions
				
			
		| 
						 | 
					@ -852,18 +852,17 @@ new Date();"))
 | 
				
			||||||
    (name "openjdk")
 | 
					    (name "openjdk")
 | 
				
			||||||
    (version "9.181")
 | 
					    (version "9.181")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method hg-fetch)
 | 
				
			||||||
              (uri "https://hg.openjdk.java.net/jdk/jdk/archive/3cc80be736f2.tar.bz2")
 | 
					              (uri (hg-reference (url "https://hg.openjdk.org/jdk/jdk")
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.bz2"))
 | 
					                                 (changeset "jdk-9+181")))
 | 
				
			||||||
 | 
					              (file-name (hg-file-name name version))
 | 
				
			||||||
 | 
					              (modules '((guix build utils)))
 | 
				
			||||||
 | 
					              (snippet `(begin
 | 
				
			||||||
 | 
					                          (for-each delete-file
 | 
				
			||||||
 | 
					                                    (find-files "." ".*.(bin|exe|jar)$"))))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "01ihmyf7k5z17wbr7xig7y40l9f01d5zjgkcmawn1102hw5kchpq"))
 | 
					                "1v92nzdqx07c35x945awzir4yk0fk22vky6fpp8mq9js930sxsz0"))))
 | 
				
			||||||
              (modules '((guix build utils)))
 | 
					 | 
				
			||||||
              (snippet
 | 
					 | 
				
			||||||
               `(begin
 | 
					 | 
				
			||||||
                  (for-each delete-file
 | 
					 | 
				
			||||||
                            (find-files "." ".*.(bin|exe|jar)$"))
 | 
					 | 
				
			||||||
                  #t))))
 | 
					 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (outputs '("out" "jdk" "doc"))
 | 
					    (outputs '("out" "jdk" "doc"))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
| 
						 | 
					@ -1024,7 +1023,7 @@ new Date();"))
 | 
				
			||||||
       ("unzip" ,unzip)
 | 
					       ("unzip" ,unzip)
 | 
				
			||||||
       ("which" ,which)
 | 
					       ("which" ,which)
 | 
				
			||||||
       ("zip" ,zip)))
 | 
					       ("zip" ,zip)))
 | 
				
			||||||
    (home-page "https://openjdk.java.net/projects/jdk9/")
 | 
					    (home-page "https://openjdk.org/projects/jdk9/")
 | 
				
			||||||
    (synopsis "Java development kit")
 | 
					    (synopsis "Java development kit")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "This package provides the Java development kit OpenJDK.")
 | 
					     "This package provides the Java development kit OpenJDK.")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue