commenting apptainer 1.0.1

This commit is contained in:
Jean-François GUILLAUME 2022-03-28 10:11:10 +02:00
parent 2b7ccc7b26
commit ed0c07bf0a
GPG key ID: 38751DAE145EFB5A
2 changed files with 3021 additions and 3021 deletions

File diff suppressed because it is too large Load diff

View file

@ -175,121 +175,121 @@
(define-public libfabric-latest (latest-version local-libfabric gnu:libfabric)) (define-public libfabric-latest (latest-version local-libfabric gnu:libfabric))
(define-public apptainer ;(define-public apptainer
(package ; (package
(name "apptainer") ; (name "apptainer")
(version "1.0.1") ; (version "1.0.1")
(source ; (source
(origin ; (origin
(method git-fetch) ; (method git-fetch)
(uri (git-reference ; (uri (git-reference
(url "https://github.com/apptainer/apptainer/") ; (url "https://github.com/apptainer/apptainer/")
(commit "a308dd1a664a0bf01ff74b39c69d07442c7fac4f") ; (commit "a308dd1a664a0bf01ff74b39c69d07442c7fac4f")
)) ; ))
(sha256 (base32 "0k2fkwlvp72vh07a7m1sdzj1f3zml9y5mligzhnscs7zzlv5s28j")) ; (sha256 (base32 "0k2fkwlvp72vh07a7m1sdzj1f3zml9y5mligzhnscs7zzlv5s28j"))
(modules '((srfi srfi-26))) ; (modules '((srfi srfi-26)))
(snippet ; (snippet
'(call-with-output-file "VERSION" (cut display version <>)) ; '(call-with-output-file "VERSION" (cut display version <>))
) ; )
) ; )
) ; )
(home-page "https://apptainer.org/") ; (home-page "https://apptainer.org/")
(synopsis "THE CONTAINER SYSTEM FOR SECURE HIGH PERFORMANCE COMPUTING") ; (synopsis "THE CONTAINER SYSTEM FOR SECURE HIGH PERFORMANCE COMPUTING")
(description "Apptainer/Singularity is the most widely used container system for HPC. ; (description "Apptainer/Singularity is the most widely used container system for HPC.
It is designed to execute applications at bare-metal performance while ; It is designed to execute applications at bare-metal performance while
being secure, portable, and 100% reproducible. Apptainer is an ; being secure, portable, and 100% reproducible. Apptainer is an
open-source project with a friendly community of developers and users. ; open-source project with a friendly community of developers and users.
The user base continues to expand, with Apptainer/Singularity now used ; The user base continues to expand, with Apptainer/Singularity now used
across industry and academia in many areas of work." ; across industry and academia in many areas of work."
) ; )
(license license:bsd-3) ; (license license:bsd-3)
(build-system gnu-build-system) ; (build-system gnu-build-system)
(inputs `( ; (inputs `(
("libarchive", libarchive) ; ("libarchive", libarchive)
("python", python-wrapper) ; ("python", python-wrapper)
("zlib", zlib) ; ("zlib", zlib)
("squashfs-tools", squashfs-tools) ; ("squashfs-tools", squashfs-tools)
("openssl", openssl) ; ("openssl", openssl)
("libseccomp", gnu:libseccomp) ; ("libseccomp", gnu:libseccomp)
("cryptsetup", cryptsetup) ; ("cryptsetup", cryptsetup)
("go", go-1.17) ; ("go", go-1.17)
("pkg-config", pkg-config) ; ("pkg-config", pkg-config)
("go-github-com-netflix-go-expect-0.0.0-20220104043353-73e0943537d2", go-github-com-netflix-go-expect-0.0.0-20220104043353-73e0943537d2) ; ("go-github-com-netflix-go-expect-0.0.0-20220104043353-73e0943537d2", go-github-com-netflix-go-expect-0.0.0-20220104043353-73e0943537d2)
("go-github-com-protonmail-go-crypto-0.0.0-20220113124808-70ae35bab23f", go-github-com-protonmail-go-crypto-0.0.0-20220113124808-70ae35bab23f) ; ("go-github-com-protonmail-go-crypto-0.0.0-20220113124808-70ae35bab23f", go-github-com-protonmail-go-crypto-0.0.0-20220113124808-70ae35bab23f)
("go-github-com-adigunhammedolalekan-registry-auth-0.0.0-20200730122110-8cde180a3a60", go-github-com-adigunhammedolalekan-registry-auth-0.0.0-20200730122110-8cde180a3a60) ; ("go-github-com-adigunhammedolalekan-registry-auth-0.0.0-20200730122110-8cde180a3a60", go-github-com-adigunhammedolalekan-registry-auth-0.0.0-20200730122110-8cde180a3a60)
("go-github-com-apex-log-1.9.0", go-github-com-apex-log-1.9.0) ; ("go-github-com-apex-log-1.9.0", go-github-com-apex-log-1.9.0)
("go-github-com-apptainer-container-key-client-0.7.2", go-github-com-apptainer-container-key-client-0.7.2) ; ("go-github-com-apptainer-container-key-client-0.7.2", go-github-com-apptainer-container-key-client-0.7.2)
("go-github-com-apptainer-container-library-client-1.2.2", go-github-com-apptainer-container-library-client-1.2.2) ; ("go-github-com-apptainer-container-library-client-1.2.2", go-github-com-apptainer-container-library-client-1.2.2)
("go-github-com-apptainer-sif-v2-2.3.2", go-github-com-apptainer-sif-v2-2.3.2) ; ("go-github-com-apptainer-sif-v2-2.3.2", go-github-com-apptainer-sif-v2-2.3.2)
("go-github-com-blang-semver-v4-4.0.0", go-github-com-blang-semver-v4-4.0.0) ; ("go-github-com-blang-semver-v4-4.0.0", go-github-com-blang-semver-v4-4.0.0)
("go-github-com-buger-jsonparser-1.1.1", go-github-com-buger-jsonparser-1.1.1) ; ("go-github-com-buger-jsonparser-1.1.1", go-github-com-buger-jsonparser-1.1.1)
("go-github-com-cenkalti-backoff-v4-4.1.2", go-github-com-cenkalti-backoff-v4-4.1.2) ; ("go-github-com-cenkalti-backoff-v4-4.1.2", go-github-com-cenkalti-backoff-v4-4.1.2)
("go-github-com-containerd-cgroups-1.0.3", go-github-com-containerd-cgroups-1.0.3) ; ("go-github-com-containerd-cgroups-1.0.3", go-github-com-containerd-cgroups-1.0.3)
("go-github-com-containerd-containerd-1.6.0", go-github-com-containerd-containerd-1.6.0) ; ("go-github-com-containerd-containerd-1.6.0", go-github-com-containerd-containerd-1.6.0)
("go-github-com-containernetworking-cni-1.0.1", go-github-com-containernetworking-cni-1.0.1) ; ("go-github-com-containernetworking-cni-1.0.1", go-github-com-containernetworking-cni-1.0.1)
("go-github-com-containernetworking-plugins-1.1.0", go-github-com-containernetworking-plugins-1.1.0) ; ("go-github-com-containernetworking-plugins-1.1.0", go-github-com-containernetworking-plugins-1.1.0)
("go-github-com-containers-image-v5-5.19.1", go-github-com-containers-image-v5-5.19.1) ; ("go-github-com-containers-image-v5-5.19.1", go-github-com-containers-image-v5-5.19.1)
("go-github-com-creack-pty-1.1.17", go-github-com-creack-pty-1.1.17) ; ("go-github-com-creack-pty-1.1.17", go-github-com-creack-pty-1.1.17)
("go-github-com-cyphar-filepath-securejoin-0.2.3", go-github-com-cyphar-filepath-securejoin-0.2.3) ; ("go-github-com-cyphar-filepath-securejoin-0.2.3", go-github-com-cyphar-filepath-securejoin-0.2.3)
("go-github-com-docker-docker-20.10.12+incompatible", go-github-com-docker-docker-20.10.12+incompatible) ; ("go-github-com-docker-docker-20.10.12+incompatible", go-github-com-docker-docker-20.10.12+incompatible)
("go-github-com-fatih-color-1.13.0", go-github-com-fatih-color-1.13.0) ; ("go-github-com-fatih-color-1.13.0", go-github-com-fatih-color-1.13.0)
("go-github-com-go-log-log-0.2.0", go-github-com-go-log-log-0.2.0) ; ("go-github-com-go-log-log-0.2.0", go-github-com-go-log-log-0.2.0)
("go-github-com-google-uuid-1.3.0", go-github-com-google-uuid-1.3.0) ; ("go-github-com-google-uuid-1.3.0", go-github-com-google-uuid-1.3.0)
("go-github-com-opencontainers-go-digest-1.0.0", go-github-com-opencontainers-go-digest-1.0.0) ; ("go-github-com-opencontainers-go-digest-1.0.0", go-github-com-opencontainers-go-digest-1.0.0)
("go-github-com-opencontainers-image-spec-1.0.3-0.20211202193544-a5463b7f9c84", go-github-com-opencontainers-image-spec-1.0.3-0.20211202193544-a5463b7f9c84) ; ("go-github-com-opencontainers-image-spec-1.0.3-0.20211202193544-a5463b7f9c84", go-github-com-opencontainers-image-spec-1.0.3-0.20211202193544-a5463b7f9c84)
("go-github-com-opencontainers-runtime-spec-1.0.3-0.20210326190908-1c3f411f0417", go-github-com-opencontainers-runtime-spec-1.0.3-0.20210326190908-1c3f411f0417) ; ("go-github-com-opencontainers-runtime-spec-1.0.3-0.20210326190908-1c3f411f0417", go-github-com-opencontainers-runtime-spec-1.0.3-0.20210326190908-1c3f411f0417)
("go-github-com-opencontainers-runtime-tools-0.9.1-0.20210326182921-59cdde06764b", go-github-com-opencontainers-runtime-tools-0.9.1-0.20210326182921-59cdde06764b) ; ("go-github-com-opencontainers-runtime-tools-0.9.1-0.20210326182921-59cdde06764b", go-github-com-opencontainers-runtime-tools-0.9.1-0.20210326182921-59cdde06764b)
("go-github-com-opencontainers-selinux-1.10.0", go-github-com-opencontainers-selinux-1.10.0) ; ("go-github-com-opencontainers-selinux-1.10.0", go-github-com-opencontainers-selinux-1.10.0)
("go-github-com-opencontainers-umoci-0.4.7", go-github-com-opencontainers-umoci-0.4.7) ; ("go-github-com-opencontainers-umoci-0.4.7", go-github-com-opencontainers-umoci-0.4.7)
("go-github-com-pelletier-go-toml-1.9.4", go-github-com-pelletier-go-toml-1.9.4) ; ("go-github-com-pelletier-go-toml-1.9.4", go-github-com-pelletier-go-toml-1.9.4)
("go-github-com-pkg-errors-0.9.1", go-github-com-pkg-errors-0.9.1) ; ("go-github-com-pkg-errors-0.9.1", go-github-com-pkg-errors-0.9.1)
("go-github-com-seccomp-containers-golang-0.6.0", go-github-com-seccomp-containers-golang-0.6.0) ; ("go-github-com-seccomp-containers-golang-0.6.0", go-github-com-seccomp-containers-golang-0.6.0)
("go-github-com-seccomp-libseccomp-golang-0.9.2-0.20210429002308-3879420cc921", go-github-com-seccomp-libseccomp-golang-0.9.2-0.20210429002308-3879420cc921) ; ("go-github-com-seccomp-libseccomp-golang-0.9.2-0.20210429002308-3879420cc921", go-github-com-seccomp-libseccomp-golang-0.9.2-0.20210429002308-3879420cc921)
("go-github-com-spf13-cobra-1.3.0", go-github-com-spf13-cobra-1.3.0) ; ("go-github-com-spf13-cobra-1.3.0", go-github-com-spf13-cobra-1.3.0)
("go-github-com-spf13-pflag-1.0.5", go-github-com-spf13-pflag-1.0.5) ; ("go-github-com-spf13-pflag-1.0.5", go-github-com-spf13-pflag-1.0.5)
("go-github-com-sylabs-json-resp-0.8.0", go-github-com-sylabs-json-resp-0.8.0) ; ("go-github-com-sylabs-json-resp-0.8.0", go-github-com-sylabs-json-resp-0.8.0)
("go-github-com-vbauerster-mpb-v7-7.4.1", go-github-com-vbauerster-mpb-v7-7.4.1) ; ("go-github-com-vbauerster-mpb-v7-7.4.1", go-github-com-vbauerster-mpb-v7-7.4.1)
("go-golang-org-x-sys-0.0.0-20220209214540-3681064d5158", go-golang-org-x-sys-0.0.0-20220209214540-3681064d5158) ; ("go-golang-org-x-sys-0.0.0-20220209214540-3681064d5158", go-golang-org-x-sys-0.0.0-20220209214540-3681064d5158)
("go-golang-org-x-term-0.0.0-20210916214954-140adaaadfaf", go-golang-org-x-term-0.0.0-20210916214954-140adaaadfaf) ; ("go-golang-org-x-term-0.0.0-20210916214954-140adaaadfaf", go-golang-org-x-term-0.0.0-20210916214954-140adaaadfaf)
("go-gopkg-in-yaml-v2-2.4.0", go-gopkg-in-yaml-v2-2.4.0) ; ("go-gopkg-in-yaml-v2-2.4.0", go-gopkg-in-yaml-v2-2.4.0)
("go-gotest-tools-v3-3.1.0", go-gotest-tools-v3-3.1.0) ; ("go-gotest-tools-v3-3.1.0", go-gotest-tools-v3-3.1.0)
("go-mvdan-cc-sh-v3-3.4.3-0.20220202175809-113ed667a8a7", go-mvdan-cc-sh-v3-3.4.3-0.20220202175809-113ed667a8a7) ; ("go-mvdan-cc-sh-v3-3.4.3-0.20220202175809-113ed667a8a7", go-mvdan-cc-sh-v3-3.4.3-0.20220202175809-113ed667a8a7)
("go-oras-land-oras-go-1.1.0", go-oras-land-oras-go-1.1.0) ; ("go-oras-land-oras-go-1.1.0", go-oras-land-oras-go-1.1.0)
("go-github-com-opencontainers-image-spec-1.0.2-0.20211117181255-693428a734f5", go-github-com-opencontainers-image-spec-1.0.2-0.20211117181255-693428a734f5) ; ("go-github-com-opencontainers-image-spec-1.0.2-0.20211117181255-693428a734f5", go-github-com-opencontainers-image-spec-1.0.2-0.20211117181255-693428a734f5)
("go-github-com-moby-sys-0.0.0-20220308220145-03355939d693", go-github-com-moby-sys-0.0.0-20220308220145-03355939d693) ; ("go-github-com-moby-sys-0.0.0-20220308220145-03355939d693", go-github-com-moby-sys-0.0.0-20220308220145-03355939d693)
("go-github-com-urfave-cli-1.22.5", go-github-com-urfave-cli-1.22.5) ; ("go-github-com-urfave-cli-1.22.5", go-github-com-urfave-cli-1.22.5)
("go-github-com-xeipuuv-gojsonpointer-0.0.0-20190905194746-02993c407bfb", go-github-com-xeipuuv-gojsonpointer-0.0.0-20190905194746-02993c407bfb) ; ("go-github-com-xeipuuv-gojsonpointer-0.0.0-20190905194746-02993c407bfb", go-github-com-xeipuuv-gojsonpointer-0.0.0-20190905194746-02993c407bfb)
("go-github-com-yvasiyarov-go-metrics-0.0.0-20150112132944-c25f46c4b940", go-github-com-yvasiyarov-go-metrics-0.0.0-20150112132944-c25f46c4b940) ; ("go-github-com-yvasiyarov-go-metrics-0.0.0-20150112132944-c25f46c4b940", go-github-com-yvasiyarov-go-metrics-0.0.0-20150112132944-c25f46c4b940)
("go-github-com-yvasiyarov-gorelic-0.0.6", go-github-com-yvasiyarov-gorelic-0.0.6) ; ("go-github-com-yvasiyarov-gorelic-0.0.6", go-github-com-yvasiyarov-gorelic-0.0.6)
("go-github-com-yvasiyarov-newrelic-platform-go-0.0.0-20160601141957-9c099fbc30e9", go-github-com-yvasiyarov-newrelic-platform-go-0.0.0-20160601141957-9c099fbc30e9) ; ("go-github-com-yvasiyarov-newrelic-platform-go-0.0.0-20160601141957-9c099fbc30e9", go-github-com-yvasiyarov-newrelic-platform-go-0.0.0-20160601141957-9c099fbc30e9)
)) ; ))
(arguments ; (arguments
`(#:phases ; `(#:phases
(modify-phases %standard-phases ; (modify-phases %standard-phases
(replace 'configure ; (replace 'configure
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys) ; (lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin ; (begin
(invoke "./mconfig" "--localstatedir=/var") ; (invoke "./mconfig" "--localstatedir=/var")
) ; )
) ; )
) ; )
(replace 'build ; (replace 'build
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys) ; (lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin ; (begin
(invoke "make" "-C" "builddir") ; (invoke "make" "-C" "builddir")
) ; )
) ; )
) ; )
(replace 'install ; (replace 'install
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys) ; (lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
(begin ; (begin
(invoke "make" "-C" "builddir" "install") ; (invoke "make" "-C" "builddir" "install")
) ; )
) ; )
) ; )
) ; )
) ; )
) ; )
) ; )
) ;)
;