adding apptainer 1.0.1

This commit is contained in:
Jean-François GUILLAUME 2022-03-23 15:19:08 +01:00
parent 168b5631cf
commit b33087e712
GPG key ID: 38751DAE145EFB5A

View file

@ -236,4 +236,53 @@
) )
) )
(define-public apptainer
(package
(name "apptainer")
(version "1.0.1")
(source (origin
(method url-fetch)
(uri (list
(string-append "https://github.com/apptainer/apptainer/archive/refs/tags/v" version ".tar.gz")
))
(sha256 (base32 "192x2s7d6gqkgl8p0v6b66qy07zx1n7i537gqgy7k5gdhhif958b"))
)
)
(home-page "https://apptainer.org/")
(synopsis "THE CONTAINER SYSTEM FOR SECURE HIGH PERFORMANCE COMPUTING")
(description "Apptainer/Singularity is the most widely used container system for HPC.
It is designed to execute applications at bare-metal performance while
being secure, portable, and 100% reproducible. Apptainer is an
open-source project with a friendly community of developers and users.
The user base continues to expand, with Apptainer/Singularity now used
across industry and academia in many areas of work."
)
(license license:bsd-3)
(build-system gnu-build-system)
(inputs `(
("libarchive", libarchive)
("python", python-wrapper)
("zlib", zlib)
("squashfs-tools", squashfs-tools)
("openssl", openssl)
("libseccomp", gnu:libseccomp)
("cryptsetup", cryptsetup)
("go", go-1.17)
("pkg-config", pkg-config)
))
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin
(invoke "./mconfig" "--localstatedir=/var")
)
)
)
)
)
)
)
)