gnu: aragorn: Update to 1.2.41.

* gnu/packages/bioinformatics.scm (aragorn): Update to 1.2.41.
[source]: Fetch C source file from new location.
[arguments]: Drop trailing #T in build phases; use gexp.
[native-inputs]: Add origin for man page.
[home-page]: Update to new home page.
[license]: Update to GPLv3+.
This commit is contained in:
Ricardo Wurmus 2022-12-13 14:48:26 +01:00
parent 93b0c1e35e
commit 6d2afaf25b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -172,47 +172,49 @@
(define-public aragorn (define-public aragorn
(package (package
(name "aragorn") (name "aragorn")
(version "1.2.38") (version "1.2.41")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append "https://www.ansikte.se/ARAGORN/Downloads/"
"http://mbio-serv2.mbioekol.lu.se/ARAGORN/Downloads/aragorn" "aragorn" version ".c"))
version ".tgz"))
(sha256 (sha256
(base32 (base32
"09i1rg716smlbnixfm7q1ml2mfpaa2fpn3hwjg625ysmfwwy712b")))) "0jkzx7sqiarydvz3bwaxh790fpvpkfc926dhsza1dbdhq32ir8wj"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; there are no tests (list
#:phases #:tests? #f ; there are no tests
(modify-phases %standard-phases #:phases
(delete 'configure) #~(modify-phases %standard-phases
(replace 'build (delete 'configure)
(lambda _ (replace 'build
(invoke "gcc" (lambda _
"-O3" (invoke "gcc" "-O3" "-ffast-math" "-finline-functions"
"-ffast-math" "-o" "aragorn" #$source)))
"-finline-functions" (replace 'install
"-o" (lambda* (#:key inputs #:allow-other-keys)
"aragorn" (let ((bin (string-append #$output "/bin"))
(string-append "aragorn" ,version ".c")) (man (string-append #$output "/share/man/man1")))
#t)) (install-file "aragorn" bin)
(replace 'install (mkdir-p man)
(lambda* (#:key outputs #:allow-other-keys) (copy-file (assoc-ref inputs "aragorn.1")
(let* ((out (assoc-ref outputs "out")) (string-append man "/aragorn.1"))))))))
(bin (string-append out "/bin")) (native-inputs
(man (string-append out "/share/man/man1"))) `(("aragorn.1"
(install-file "aragorn" bin) ,(origin
(install-file "aragorn.1" man)) (method url-fetch)
#t))))) (uri "https://www.ansikte.se/ARAGORN/Downloads/aragorn.1")
(home-page "http://mbio-serv2.mbioekol.lu.se/ARAGORN") (sha256
(base32
"0bn9lapa6f0cl07dbn2fjrapirv9d4bk7w248w39fhb4vbczcc3f"))))))
(home-page "https://www.ansikte.se/ARAGORN/")
(synopsis "Detect tRNA, mtRNA and tmRNA genes in nucleotide sequences") (synopsis "Detect tRNA, mtRNA and tmRNA genes in nucleotide sequences")
(description (description
"Aragorn identifies transfer RNA, mitochondrial RNA and "Aragorn identifies transfer RNA, mitochondrial RNA and
transfer-messenger RNA from nucleotide sequences, based on homology to known transfer-messenger RNA from nucleotide sequences, based on homology to known
tRNA consensus sequences and RNA structure. It also outputs the secondary tRNA consensus sequences and RNA structure. It also outputs the secondary
structure of the predicted RNA.") structure of the predicted RNA.")
(license license:gpl2))) (license license:gpl3+)))
(define-public bamtools (define-public bamtools
(package (package