guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]: gnu: Add HISAT.


From: Ludovic Courtès
Subject: Re: [PATCH]: gnu: Add HISAT.
Date: Tue, 10 Feb 2015 00:03:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> From 305768bfef9bf4bc8d57828e27b8439dedd574bd Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <address@hidden>
> Date: Mon, 9 Feb 2015 12:13:26 +0100
> Subject: [PATCH] gnu: Add HISAT.
>
> * gnu/packages/bioinformatics.scm (hisat): New variable.

Overall looks good to me.  A couple of comments:

> +         (alist-replace
> +          'install
> +          (lambda* (#:key outputs #:allow-other-keys)
> +            (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
> +              (mkdir-p bin)
> +              (for-each (lambda (file)
> +                          (copy-file file (string-append bin file)))
> +                        '("hisat"
> +                          "hisat-build"
> +                          "hisat-build-s"
> +                          "hisat-build-l"
> +                          "hisat-align-s"
> +                          "hisat-align-l"
> +                          "hisat-inspect"
> +                          "hisat-inspect-s"
> +                          "hisat-inspect-l"
> +                          "hisat-build-s-debug"
> +                          "hisat-build-l-debug"
> +                          "hisat-align-s-debug"
> +                          "hisat-align-l-debug"
> +                          "hisat-inspect-s-debug"
> +                          "hisat-inspect-l-debug"))))

If it’s possible to avoid the whole list using ‘find-files’ or
‘scandir’, that would be nicer IMO.  If it’s not, that’s fine.

> +    (license license:gpl3)))

GPLv3-only?

Thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]