gnu: Add psascan.

* gnu/packages/cpp.scm (psascan): New variable.
This commit is contained in:
Ricardo Wurmus 2023-01-06 12:21:04 +01:00
parent 8be0a97a81
commit a768b0433e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -74,6 +74,7 @@ (define-module (gnu packages cpp)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages documentation)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
@ -1114,6 +1115,39 @@ (define-public pegtl
parsers according to a Parsing Expression Grammar (PEG).")
(license license:expat)))
(define-public psascan
(package
(name "psascan")
(version "0.1.0")
(source (origin
(method url-fetch)
(uri (string-append "https://www.cs.helsinki.fi/group"
"/pads/software/pSAscan"
"/pSAscan-" version ".tar.bz2"))
(sha256
(base32
"1cphk4gf202nzkxz6jdjzls4zy27055gwpm0r8cn99gr6c8548cy"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #false ;there are none
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir (lambda _ (chdir "src")))
(delete 'configure)
(replace 'install
(lambda _
(install-file "psascan"
(string-append #$output "/bin")))))))
(inputs (list libdivsufsort))
(home-page "https://www.cs.helsinki.fi/group/pads/pSAscan.html")
(synopsis "Parallel external memory suffix array construction")
(description "This package contains an implementation of the parallel
external-memory suffix array construction algorithm called pSAscan. The
algorithm is based on the sequential external-memory suffix array construction
algorithm called SAscan.")
(license license:expat)))
(define-public cxxopts
(package
(name "cxxopts")