diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-01 10:50:16 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-14 12:41:50 +0100 |
| commit | 76bccdb6e48ab1d68eacf7f1f4125436a95927cc (patch) | |
| tree | 9a043e72f01d997eef15710ff5c5498b4504b06d /gnu/packages/containers.scm | |
| parent | 34a484023d2612fe49359e6f919c6c56cd2d98f2 (diff) | |
gnu: skopeo: Move to (gnu packages containers).
Authors were parsed from git history with the following command:
git log --all --grep="skopeo:" \
--pretty=format:";;; Copyright © %as %aN <%aE>"
* gnu/packages/virtualization.scm (skopeo): Move from here ...
* gnu/packages/containers.scm: ... to here.
Relates-to: guix/guix!9640
Diffstat (limited to 'gnu/packages/containers.scm')
| -rw-r--r-- | gnu/packages/containers.scm | 87 |
1 files changed, 84 insertions, 3 deletions
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index ca1bbcb42f0..3fa0e2813e9 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm | |||
| @@ -1,11 +1,12 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2018 宋文武 <iyzsong@envs.net> | 2 | ;;; Copyright © 2018 宋文武 <iyzsong@envs.net> |
| 3 | ;;; Copyright © 2019 Leo Famulari <leo@famulari.name> | 3 | ;;; Copyright © 2019 Leo Famulari <leo@famulari.name> |
| 4 | ;;; Copyright © 2020 Jelle Licht <jlicht@fsfe.org> | ||
| 4 | ;;; Copyright © 2021 Maxim Cournoyer <maxim@guixotic.coop> | 5 | ;;; Copyright © 2021 Maxim Cournoyer <maxim@guixotic.coop> |
| 5 | ;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com> | 6 | ;;; Copyright © 2021 Timmy Douglas <mail@timmydouglas.com> |
| 6 | ;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de> | 7 | ;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de> |
| 7 | ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com> | 8 | ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com> |
| 8 | ;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr> | 9 | ;;; Copyright © 2019, 2021, 2022, 2024 Tobias Geerinckx-Rice <me@tobias.gr> |
| 9 | ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com> | 10 | ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com> |
| 10 | ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space> | 11 | ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space> |
| 11 | ;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net> | 12 | ;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net> |
| @@ -13,9 +14,9 @@ | |||
| 13 | ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se> | 14 | ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se> |
| 14 | ;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz> | 15 | ;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz> |
| 15 | ;;; Copyright © 2024 Jean-Pierre De Jesus DIAZ <jean@foundation.xyz> | 16 | ;;; Copyright © 2024 Jean-Pierre De Jesus DIAZ <jean@foundation.xyz> |
| 16 | ;;; Copyright © 2024-2026 Tomas Volf <~@wolfsden.cz> | ||
| 17 | ;;; Copyright © 2024-2026 Sharlatan Hellseher <sharlatanus@gmail.com> | 17 | ;;; Copyright © 2024-2026 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 18 | ;;; Copyright © 2025 Foster Hangdaan <foster@hangdaan.email> | 18 | ;;; Copyright © 2024-2026 Tomas Volf <~@wolfsden.cz> |
| 19 | ;;; Copyright © 2025, 2026 Foster Hangdaan <foster@hangdaan.email> | ||
| 19 | ;;; Copyright © 2026 Giacomo Leidi <therewasa@fishinthecalculator.me> | 20 | ;;; Copyright © 2026 Giacomo Leidi <therewasa@fishinthecalculator.me> |
| 20 | ;;; | 21 | ;;; |
| 21 | ;;; This file is part of GNU Guix. | 22 | ;;; This file is part of GNU Guix. |
| @@ -999,6 +1000,86 @@ Open Container Initiative specification.") | |||
| 999 | containers or various tools.") | 1000 | containers or various tools.") |
| 1000 | (license license:bsd-3))) | 1001 | (license license:bsd-3))) |
| 1001 | 1002 | ||
| 1003 | (define-public skopeo | ||
| 1004 | (package | ||
| 1005 | (name "skopeo") | ||
| 1006 | (version "1.23.0") | ||
| 1007 | (source (origin | ||
| 1008 | (method git-fetch) | ||
| 1009 | (uri (git-reference | ||
| 1010 | (url "https://github.com/podman-container-tools/skopeo") | ||
| 1011 | (commit (string-append "v" version)))) | ||
| 1012 | (file-name (git-file-name name version)) | ||
| 1013 | (sha256 | ||
| 1014 | (base32 | ||
| 1015 | "0l83k5gj5dx26wx200y61xcxxhxccwdqnj2r7xfs0h8fh56pmfvj")))) | ||
| 1016 | (build-system gnu-build-system) | ||
| 1017 | (native-inputs | ||
| 1018 | (list go | ||
| 1019 | go-md2man | ||
| 1020 | pkg-config)) | ||
| 1021 | (inputs | ||
| 1022 | (list bash-minimal | ||
| 1023 | btrfs-progs | ||
| 1024 | eudev | ||
| 1025 | libassuan | ||
| 1026 | libselinux | ||
| 1027 | libostree | ||
| 1028 | lvm2 | ||
| 1029 | glib | ||
| 1030 | gpgme)) | ||
| 1031 | (arguments | ||
| 1032 | (list | ||
| 1033 | #:make-flags | ||
| 1034 | #~(list (string-append "CC=" #$(cc-for-target)) | ||
| 1035 | "PREFIX=" | ||
| 1036 | (string-append "DESTDIR=" #$output) | ||
| 1037 | "GOGCFLAGS=-trimpath" | ||
| 1038 | (string-append "GOMD2MAN=" #$go-md2man "/bin/go-md2man")) | ||
| 1039 | #:tests? #f ; The tests require Docker | ||
| 1040 | #:test-target "test-unit" | ||
| 1041 | #:imported-modules | ||
| 1042 | (source-module-closure `(,@%default-gnu-imported-modules | ||
| 1043 | (guix build go-build-system))) | ||
| 1044 | #:phases | ||
| 1045 | #~(modify-phases %standard-phases | ||
| 1046 | (delete 'configure) | ||
| 1047 | (add-after 'unpack 'set-env | ||
| 1048 | (lambda _ | ||
| 1049 | ;; When running go, things fail because HOME=/homeless-shelter. | ||
| 1050 | (setenv "HOME" "/tmp") | ||
| 1051 | ;; Required for detecting btrfs in hack/btrfs* due to bug in GNU | ||
| 1052 | ;; Make <4.4 causing CC not to be propagated into $(shell ...) | ||
| 1053 | ;; calls. Can be removed once we update to >4.3. | ||
| 1054 | (setenv "CC" #$(cc-for-target)))) | ||
| 1055 | (add-after 'install 'wrap-skopeo | ||
| 1056 | (lambda _ | ||
| 1057 | (wrap-program (string-append #$output "/bin/skopeo") | ||
| 1058 | `("PATH" suffix | ||
| 1059 | ;; We need at least newuidmap, newgidmap and mount. | ||
| 1060 | ("/run/privileged/bin")))))))) | ||
| 1061 | (home-page "https://github.com/podman-container-tools/skopeo") | ||
| 1062 | (synopsis "Interact with container images and container image registries") | ||
| 1063 | (description | ||
| 1064 | "@command{skopeo} is a command line utility providing various operations | ||
| 1065 | with container images and container image registries. It can: | ||
| 1066 | @enumerate | ||
| 1067 | |||
| 1068 | @item Copy container images between various containers image stores, | ||
| 1069 | converting them as necessary. | ||
| 1070 | |||
| 1071 | @item Convert a Docker schema 2 or schema 1 container image to an OCI image. | ||
| 1072 | |||
| 1073 | @item Inspect a repository on a container registry without needlessly pulling | ||
| 1074 | the image. | ||
| 1075 | |||
| 1076 | @item Sign and verify container images. | ||
| 1077 | |||
| 1078 | @item Delete container images from a remote container registry. | ||
| 1079 | |||
| 1080 | @end enumerate") | ||
| 1081 | (license license:asl2.0))) | ||
| 1082 | |||
| 1002 | (define-public slirp4netns | 1083 | (define-public slirp4netns |
| 1003 | (package | 1084 | (package |
| 1004 | (name "slirp4netns") | 1085 | (name "slirp4netns") |
