gnu: flexbar: Update to 3.4.0.

* gnu/packages/bioinformatics.scm (flexbar): Update to 3.4.0.
[source]: Fetch from git.
[arguments]: Adjust check and install phases.
[home-page]: Update to new home at Github.
[license]: Change to bsd-3.
This commit is contained in:
Ricardo Wurmus 2018-10-21 23:05:11 +02:00
parent 4d93a9a36c
commit f8ee22fc8b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2607,38 +2607,39 @@ (define-public fastx-toolkit
(define-public flexbar
(package
(name "flexbar")
(version "2.5")
(version "3.4.0")
(source (origin
(method url-fetch)
(uri
(string-append "mirror://sourceforge/flexbar/"
version "/flexbar_v" version "_src.tgz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/seqan/flexbar.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"13jaykc3y1x8y5nn9j8ljnb79s5y51kyxz46hdmvvjj6qhyympmf"))))
"1pq9sxvdnldl14libk234m72dqhwgzs3acgl943wchwdqlcsi5r2"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list
(string-append "-DFLEXBAR_BINARY_DIR="
(assoc-ref %outputs "out")
"/bin/"))
#:phases
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key outputs #:allow-other-keys)
(setenv "PATH" (string-append
(assoc-ref outputs "out") "/bin:"
(getenv "PATH")))
(chdir "../flexbar_v2.5_src/test")
(zero? (system* "bash" "flexbar_validate.sh"))))
(delete 'install))))
(setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
(with-directory-excursion "../source/test"
(invoke "bash" "flexbar_test.sh"))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (string-append (assoc-ref outputs "out")))
(bin (string-append out "/bin/")))
(install-file "flexbar" bin))
#t)))))
(inputs
`(("tbb" ,tbb)
("zlib" ,zlib)))
(native-inputs
`(("pkg-config" ,pkg-config)
("seqan" ,seqan)))
(home-page "http://flexbar.sourceforge.net")
(home-page "https://github.com/seqan/flexbar")
(synopsis "Barcode and adapter removal tool for sequencing platforms")
(description
"Flexbar preprocesses high-throughput nucleotide sequencing data
@ -2647,7 +2648,7 @@ (define-public flexbar
read mapping rates and improves genome and transcriptome assemblies. It
supports next-generation sequencing data in fasta/q and csfasta/q format from
Illumina, Roche 454, and the SOLiD platform.")
(license license:gpl3)))
(license license:bsd-3)))
(define-public fraggenescan
(package