gnu: Add podman-compose.

* gnu/packages/containers.scm (podman-compose): New variable.

Change-Id: Ieb5ee4b6e82464599a17ec950be8a7dbb2efa842
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Tomas Volf 2024-05-10 00:23:10 +02:00 committed by Sharlatan Hellseher
parent 2bfdc768d7
commit e89bfb919e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -34,6 +34,7 @@ (define-module (gnu packages containers)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages admin) #:use-module (gnu packages admin)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
@ -49,6 +50,8 @@ (define-module (gnu packages containers)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages networking) #:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-check)
#:use-module (gnu packages rust-apps) #:use-module (gnu packages rust-apps)
#:use-module (gnu packages selinux) #:use-module (gnu packages selinux)
#:use-module (gnu packages version-control) #:use-module (gnu packages version-control)
@ -540,6 +543,34 @@ (define-public podman
packaged.") packaged.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public podman-compose
(package
(name "podman-compose")
(version "1.0.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/containers/podman-compose")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "11dwpifkm20vyi6r3fgmiiqc01mpm4r8l0p5gfh0bawi2gklrhsf"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "pytests")))
(native-inputs
(list python-pytest))
(propagated-inputs
(list python-dotenv python-pyyaml))
(home-page "https://github.com/containers/podman-compose")
(synopsis "Script to run docker-compose.yml using podman")
(description "This package provides an implementation of
@url{https://compose-spec.io/, Compose Spec} for @code{podman} focused on
being rootless and not requiring any daemon to be running.")
(license license:gpl2)))
(define-public buildah (define-public buildah
(package (package
(name "buildah") (name "buildah")