Apply the recommended formatting rules from '.dir-locals.el' to the examples in the manual in order to fulfill it's purpose of being a reference. * doc/package-hello.scm: Indent it. * doc/guix.texi (Defining Packages, Version Numbers): Likewise. * gnu/packages/base.scm (hello): Be consistent with the manual.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			615 B
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			615 B
		
	
	
	
		
			Scheme
		
	
	
	
	
	
| (use-modules (guix)
 | |
|              (guix build-system gnu)
 | |
|              (guix licenses))
 | |
| 
 | |
| (package
 | |
|   (name "hello")
 | |
|   (version "2.10")
 | |
|   (source (origin
 | |
|             (method url-fetch)
 | |
|             (uri (string-append "mirror://gnu/hello/hello-" version
 | |
|                                 ".tar.gz"))
 | |
|             (sha256
 | |
|              (base32
 | |
|               "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
 | |
|   (build-system gnu-build-system)
 | |
|   (synopsis "Hello, GNU world: An example GNU package")
 | |
|   (description "Guess what GNU Hello prints!")
 | |
|   (home-page "http://www.gnu.org/software/hello/")
 | |
|   (license gpl3+))
 |