Subject: Re: [bug#32561] [PATCH] gnu: Add gffcompare.

From: Leo Famulari <[email-masked]>
Date: Wed, 29 Aug 2018 14:15:16 -0400

On Tue, Aug 28, 2018 at 10:26:13PM +0200, pimi wrote:
> gnu/packages/bioinformatics.scm (gffcompare): New variable.

Thanks!

> +      (arguments
> +       `(#:tests? #f                    ; no check target
> +                  #:phases
> +                  (modify-phases %standard-phases
> +                    (delete 'configure)
> +                    (add-before 'build 'copy-gclib-source
> +                      (lambda* (#:key inputs #:allow-other-keys)
> +                        (mkdir "../gclib")
> +                        (copy-recursively
> +                         (assoc-ref inputs "gclib-source") "../gclib")
> +                        #t))
> +                    (replace 'install
> +                      (lambda* (#:key outputs #:allow-other-keys)
> +                        (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
> +                          (mkdir-p bin)
> +                          (install-file "gffcompare" bin)
> +                          #t))))))

I moved the #:phases block over to line up with #:tests?...

> +      (native-inputs
> +       `(("gclib-source"
> +          ,(let ((commit "54917d0849c1e83cfb057b5f712e5cb6a35d948f")

... and added a comment about this, and pushed as
4f9355c3606ecbe83dce78e6d01fa974d912bd4a