gnu: uncrustify: use new style and gexp.
* gnu/packages/code.scm (uncrustify): use new style and gexp. [native-inputs]: remove label. [arguments]: use gexp and remove tail #t. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									ca5fae4f26
								
							
						
					
					
						commit
						c0bfa12666
					
				
					 1 changed files with 11 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -805,11 +805,10 @@ independent targets.")
 | 
			
		|||
               (base32
 | 
			
		||||
                "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm"))))
 | 
			
		||||
    (build-system cmake-build-system)
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     `(("python" ,python-wrapper)))
 | 
			
		||||
    (native-inputs (list python-wrapper))
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
     (list #:phases
 | 
			
		||||
           #~(modify-phases %standard-phases
 | 
			
		||||
               (add-after 'unpack 'unpack-etc
 | 
			
		||||
                 (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
			
		||||
                   ;; Configuration samples are not installed by default.
 | 
			
		||||
| 
						 | 
				
			
			@ -817,8 +816,7 @@ independent targets.")
 | 
			
		|||
                          (etcdir (string-append output "/etc")))
 | 
			
		||||
                     (for-each (lambda (l)
 | 
			
		||||
                                 (install-file l etcdir))
 | 
			
		||||
                         (find-files "etc" "\\.cfg$")))
 | 
			
		||||
             #t)))))
 | 
			
		||||
                               (find-files "etc" "\\.cfg$"))))))))
 | 
			
		||||
    (home-page "https://uncrustify.sourceforge.net/")
 | 
			
		||||
    (synopsis "Code formatter for C and other related languages")
 | 
			
		||||
    (description
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue