.
This commit is contained in:
parent
cf3f9ed970
commit
bef98b7073
1 changed files with 68 additions and 30 deletions
|
@ -1,11 +1,22 @@
|
||||||
(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
|
||||||
|
@ -14,21 +25,48 @@
|
||||||
(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
|
||||||
|
(string-append "https://github.com/F1bonacc1/process-compose/releases/download/v" version "/process-compose_linux_amd64.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1fd6pb4gcja48xkxwb16vax884m9c6hddcnxgsvm4c8khfd082v0"))))
|
"1fd6pb4gcja48xkxwb16vax884m9c6hddcnxgsvm4c8khfd082v0"))))
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:modules '((guix build utils))
|
#:modules
|
||||||
#:builder #~(let* ((source (assoc-ref %build-inputs "source"))
|
'((guix build utils))
|
||||||
(output (assoc-ref %outputs "out"))
|
#:builder #~(let*
|
||||||
(out-bin (string-append output "/bin")))
|
((source
|
||||||
(use-modules (guix build utils))
|
(assoc-ref %build-inputs "source"))
|
||||||
(install-file (string-append source "/process-compose") out-bin))))
|
(output
|
||||||
|
(assoc-ref %outputs "out"))
|
||||||
|
(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")
|
(home-page "https://f1bonacc1.github.io/process-compose")
|
||||||
(synopsis "Scheduler and orchestrator for processes")
|
(synopsis "Scheduler and orchestrator for processes")
|
||||||
(description "Process Compose is a simple and flexible scheduler and orchestrator
|
(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"))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue