Merge branch 'main' of gitlab.univ-nantes.fr:glicid-public/guix-glicid into main

This commit is contained in:
Yann Dupont 2022-03-23 15:25:07 +01:00
commit 1b0d006bd5

View file

@ -274,4 +274,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")
)
)
)
)
)
)
)
)