gnu: jamm: Use G-expression.
* gnu/packages/bioinformatics.scm (jamm)[arguments]: Use G-expression.
This commit is contained in:
		
							parent
							
								
									662e2e82b1
								
							
						
					
					
						commit
						e4ca1bcea5
					
				
					 1 changed files with 38 additions and 39 deletions
				
			
		| 
						 | 
					@ -15862,16 +15862,16 @@ Barcoding Kit or Rapid Barcoding Kit.")
 | 
				
			||||||
         "0bsa5mf9n9q5jz7mmacrra41l7r8rac5vgsn6wv1fb52ya58b970"))))
 | 
					         "0bsa5mf9n9q5jz7mmacrra41l7r8rac5vgsn6wv1fb52ya58b970"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:tests? #f ; there are none
 | 
					     (list
 | 
				
			||||||
 | 
					      #:tests? #f                       ;there are none
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
          (delete 'configure)
 | 
					          (delete 'configure)
 | 
				
			||||||
          (delete 'build)
 | 
					          (delete 'build)
 | 
				
			||||||
          (replace 'install
 | 
					          (replace 'install
 | 
				
			||||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					            (lambda _
 | 
				
			||||||
             (let* ((out (assoc-ref outputs "out"))
 | 
					              (let ((libexec (string-append #$output "/libexec/jamm"))
 | 
				
			||||||
                    (libexec (string-append out "/libexec/jamm"))
 | 
					                    (bin (string-append #$output "/bin")))
 | 
				
			||||||
                    (bin (string-append out "/bin")))
 | 
					 | 
				
			||||||
                (substitute* '("JAMM.sh"
 | 
					                (substitute* '("JAMM.sh"
 | 
				
			||||||
                               "SignalGenerator.sh")
 | 
					                               "SignalGenerator.sh")
 | 
				
			||||||
                  (("^sPath=.*")
 | 
					                  (("^sPath=.*")
 | 
				
			||||||
| 
						 | 
					@ -15894,14 +15894,13 @@ Barcoding Kit or Rapid Barcoding Kit.")
 | 
				
			||||||
                   (install-file script bin)
 | 
					                   (install-file script bin)
 | 
				
			||||||
                   (wrap-program (string-append bin "/" script)
 | 
					                   (wrap-program (string-append bin "/" script)
 | 
				
			||||||
                     `("PATH" ":" prefix
 | 
					                     `("PATH" ":" prefix
 | 
				
			||||||
                      (,(string-append (assoc-ref inputs "coreutils") "/bin")
 | 
					                       (,(string-append #$(this-package-input "coreutils") "/bin")
 | 
				
			||||||
                       ,(string-append (assoc-ref inputs "gawk") "/bin")
 | 
					                        ,(string-append #$(this-package-input "gawk") "/bin")
 | 
				
			||||||
                       ,(string-append (assoc-ref inputs "perl") "/bin")
 | 
					                        ,(string-append #$(this-package-input "perl") "/bin")
 | 
				
			||||||
                       ,(string-append (assoc-ref inputs "r-minimal") "/bin")))
 | 
					                        ,(string-append #$(this-package-input "r-minimal") "/bin")))
 | 
				
			||||||
                     `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))
 | 
					                     `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))
 | 
				
			||||||
                     `("R_LIBS_SITE" ":" prefix (,(getenv "R_LIBS_SITE")))))
 | 
					                     `("R_LIBS_SITE" ":" prefix (,(getenv "R_LIBS_SITE")))))
 | 
				
			||||||
                (list "JAMM.sh" "SignalGenerator.sh")))
 | 
					                 (list "JAMM.sh" "SignalGenerator.sh"))))))))
 | 
				
			||||||
             #t)))))
 | 
					 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list bash
 | 
					     (list bash
 | 
				
			||||||
           coreutils
 | 
					           coreutils
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue