adding apptainer 1.0.1

This commit is contained in:
Jean-François GUILLAUME 2022-03-23 16:26:03 +01:00
parent a5d12b8599
commit 1458cf8dc0
GPG key ID: 38751DAE145EFB5A

View file

@ -175,105 +175,6 @@
(define-public libfabric-latest (latest-version local-libfabric gnu:libfabric)) (define-public libfabric-latest (latest-version local-libfabric gnu:libfabric))
(define-public apptainer-singularity-3.8.5
(package
(name "singularity")
(version "3.8.5")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/apptainer/singularity/releases/download/v" version "/singularity-" version ".tar.gz"))
(sha256 (base32 "1r1w2n1ndj5psvpm87ij6gwr0hwrbsn6gllv4q44spbvq2spizvz"))
)
)
(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)
; ("go-github-com-AdamKorcz-go-fuzz-headers", go-github-com-AdamKorcz-go-fuzz-headers)
; ("go-github-com-Netflix-go-expect", go-github-com-Netflix-go-expect)
; ("go-github-com-adigunhammedolalekan-registry-auth", go-github-com-adigunhammedolalekan-registry-auth)
; ("go-github-com-alexflint-go-filemutex", go-github-com-alexflint-go-filemutex)
; ("go-github-com-apex-log", go-github-com-apex-log)
; ("go-github-com-blang-semver-v4", go-github-com-blang-semver-v4)
; ("go-github-com-buger-jsonparser", go-github-com-buger-jsonparser)
; ("go-github-com-bugsnag-bugsnag-go", go-github-com-bugsnag-bugsnag-go)
; ("go-github-com-bugsnag-panicwrap", go-github-com-bugsnag-panicwrap)
; ("go-github-com-containerd-cgroups", go-github-com-containerd-cgroups)
; ("go-github-com-containerd-containerd", go-github-com-containerd-containerd)
; ("go-github-com-containernetworking-cni", go-github-com-containernetworking-cni)
; ("go-github-com-containernetworking-plugins", go-github-com-containernetworking-plugins)
; ("go-github-com-containers-image-v5", go-github-com-containers-image-v5)
; ("go-github-com-cyphar-filepath-securejoin", go-github-com-cyphar-filepath-securejoin)
; ("go-github-com-fatih-color", go-github-com-fatih-color)
; ("go-github-com-go-log-log", go-github-com-go-log-log)
; ("go-github-com-godbus-dbus", go-github-com-godbus-dbus)
; ("go-github-com-google-uuid", go-github-com-google-uuid)
; ("go-github-com-gorilla-websocket", go-github-com-gorilla-websocket)
; ("go-github-com-hpcng-sif", go-github-com-hpcng-sif)
; ("go-github-com-kardianos-osext", go-github-com-kardianos-osext)
; ("go-github-com-kr-pty", go-github-com-kr-pty)
; ("go-github-com-opencontainers-go-digest", go-github-com-opencontainers-go-digest)
; ("go-github-com-opencontainers-image-spec", go-github-com-opencontainers-image-spec)
; ("go-github-com-opencontainers-runtime-spec", go-github-com-opencontainers-runtime-spec)
; ("go-github-com-opencontainers-runtime-tools", go-github-com-opencontainers-runtime-tools)
; ("go-github-com-opencontainers-selinux", go-github-com-opencontainers-selinux)
; ("go-github-com-opencontainers-umoci", go-github-com-opencontainers-umoci)
; ("go-github-com-pelletier-go-toml", go-github-com-pelletier-go-toml)
; ("go-github-com-pkg-errors", go-github-com-pkg-errors)
; ("go-github-com-russross-blackfriday-v2", go-github-com-russross-blackfriday-v2)
; ("go-github-com-satori-go-uuid", go-github-com-satori-go-uuid)
; ("go-github-com-seccomp-containers-golang", go-github-com-seccomp-containers-golang)
; ("go-github-com-seccomp-libseccomp-golang", go-github-com-seccomp-libseccomp-golang)
; ("go-github-com-spf13-cobra", go-github-com-spf13-cobra)
; ("go-github-com-spf13-pflag", go-github-com-spf13-pflag)
; ("go-github-com-sylabs-json-resp", go-github-com-sylabs-json-resp)
; ("go-github-com-sylabs-scs-build-client", go-github-com-sylabs-scs-build-client)
; ("go-github-com-sylabs-scs-key-client", go-github-com-sylabs-scs-key-client)
; ("go-github-com-sylabs-scs-library-client", go-github-com-sylabs-scs-library-client)
; ("go-github-com-urfave-cli", go-github-com-urfave-cli)
; ("go-github-com-vbauerster-mpb-v4", go-github-com-vbauerster-mpb-v4)
; ("go-github-com-vbauerster-mpb-v6", go-github-com-vbauerster-mpb-v6)
; ("go-github-com-xeipuuv-gojsonpointer", go-github-com-xeipuuv-gojsonpointer)
; ("go-github-com-yvasiyarov-go-metrics", go-github-com-yvasiyarov-go-metrics)
; ("go-github-com-yvasiyarov-gorelic", go-github-com-yvasiyarov-gorelic)
; ("go-github-com-yvasiyarov-newrelic_platform_go", go-github-com-yvasiyarov-newrelic_platform_go)
; ("go-golang-org-x-crypto", go-golang-org-x-crypto)
; ("go-golang-org-x-sys", go-golang-org-x-sys)
))
(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")
)
)
)
)
)
)
)
)
(define-public apptainer (define-public apptainer
(package (package
(name "apptainer") (name "apptainer")