This commit is contained in:
Daniel Ziltener 2024-04-04 02:25:47 +02:00
parent cf3f9ed970
commit bef98b7073
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -1,34 +1,72 @@
(define-module (zilti packages utilities) (define-module
#:use-module (guix download) (zilti packages utilities)
#:use-module (guix gexp) #:use-module
#:use-module (guix packages) (guix download)
#:use-module (guix utils) #:use-module
#:use-module (guix build-system trivial) (guix gexp)
#:use-module ((guix licenses) #:prefix license:) #:use-module
#:use-module (gnu packages)) (guix packages)
#:use-module
(guix utils)
#:use-module
(guix build-system trivial)
#:use-module
((guix licenses)
#:prefix license:)
#:use-module
(gnu packages)
#:use-module
((gnu packages package-management) #:prefix gnu:))
(define-public process-compose (define-public process-compose
(package (package
(name "process-compose") (name "process-compose")
(version "0.88.0") (version "0.88.0")
(source (source
(origin (origin
(method url-fetch/tarbomb) (method url-fetch/tarbomb)
(uri (string-append "https://github.com/F1bonacc1/process-compose/releases/download/v" version "/process-compose_linux_amd64.tar.gz")) (uri
(sha256 (string-append "https://github.com/F1bonacc1/process-compose/releases/download/v" version "/process-compose_linux_amd64.tar.gz"))
(base32 (sha256
"1fd6pb4gcja48xkxwb16vax884m9c6hddcnxgsvm4c8khfd082v0")))) (base32
(build-system trivial-build-system) "1fd6pb4gcja48xkxwb16vax884m9c6hddcnxgsvm4c8khfd082v0"))))
(arguments (build-system trivial-build-system)
(list (arguments
#:modules '((guix build utils)) (list
#:builder #~(let* ((source (assoc-ref %build-inputs "source")) #:modules
(output (assoc-ref %outputs "out")) '((guix build utils))
(out-bin (string-append output "/bin"))) #:builder #~(let*
(use-modules (guix build utils)) ((source
(install-file (string-append source "/process-compose") out-bin)))) (assoc-ref %build-inputs "source"))
(home-page "https://f1bonacc1.github.io/process-compose") (output
(synopsis "Scheduler and orchestrator for processes") (assoc-ref %outputs "out"))
(description "Process Compose is a simple and flexible scheduler and orchestrator (out-bin
(string-append output "/bin")))
(use-modules
(guix build utils))
(install-file
(string-append source "/process-compose")
out-bin))))
(home-page "https://f1bonacc1.github.io/process-compose")
(synopsis "Scheduler and orchestrator for processes")
(description "Process Compose is a simple and flexible scheduler and orchestrator
to manage non-containerized applications.") to manage non-containerized applications.")
(license license:expat))) (license license:expat)))
(define-public flatpak
(package
(inherit gnu:flatpak)
(name "flatpak")
(version "1.14.5")
(source
(origin
(method url-fetch)
(uri
(string-append "https://github.com/flatpak/flatpak/releases/download/"
version "/flatpak-" version ".tar.xz"))
(sha256
(base32
"1b7z4wzh2zgphcal95vj4x7wbr9s89p2a4c0l0g4w4xcwx6ccw2v"))
(patches
(search-patches "flatpak-fix-path.patch"))))))