all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0.
@ 2024-03-21 18:16 Daniel Ziltener via Guix-patches via
  2024-03-21 18:16 ` Daniel Ziltener via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Daniel Ziltener via Guix-patches via @ 2024-03-21 18:16 UTC (permalink / raw)
  To: 69932; +Cc: dziltener

---
 gnu/packages/shellutils.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index e58e9e61fc..fc8c1bc0f1 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -539,6 +539,34 @@ (define-public direnv
 environment variables of the current shell.")
     (license license:expat)))
 
+(define-public process-compose
+  (package
+    (name "process-compose")
+    (version "0.88.0")
+    (source
+     (origin
+       (method url-fetch/tarbomb)
+       (uri (string-append
+             "https://github.com/F1bonacc1/process-compose/releases/download/v"
+             version "/process-compose_linux_amd64.tar.gz"))
+       (sha256
+        (base32
+         "1qhfrbd5ybb0sinl9pad64rscr08qvlfzrzmi4p4hk61xn6phlmz"))))
+    (build-system trivial-build-system)
+    (arguments
+     (list
+      #:modules '((guix build utils))
+      #:builder #~(let ((source (assoc-ref %build-inputs "source"))
+                        (output (assoc-ref %outputs "out")))
+                    (use-modules (guix build utils))
+                    (install-file
+                     (string-append source "/process-compose") output))))
+    (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.")
+    (license license:expat)))
+
 (define-public fzy
   (package
     (name "fzy")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0.
  2024-03-21 18:16 [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0 Daniel Ziltener via Guix-patches via
@ 2024-03-21 18:16 ` Daniel Ziltener via Guix-patches via
  2024-04-06 19:00 ` Dale Mellor
  2024-04-16 10:01 ` Daniel Ziltener via Guix-patches via
  2 siblings, 0 replies; 5+ messages in thread
From: Daniel Ziltener via Guix-patches via @ 2024-03-21 18:16 UTC (permalink / raw)
  To: 69932; +Cc: dziltener

Sorry for the commit above; this one here is the corrected, working one.

---
 gnu/packages/shellutils.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index e58e9e61fc..fc8c1bc0f1 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -539,6 +539,34 @@ (define-public direnv
 environment variables of the current shell.")
     (license license:expat)))
 
+(define-public process-compose
+  (package
+    (name "process-compose")
+    (version "0.88.0")
+    (source
+     (origin
+       (method url-fetch/tarbomb)
+       (uri (string-append
+             "https://github.com/F1bonacc1/process-compose/releases/download/v"
+             version "/process-compose_linux_amd64.tar.gz"))
+       (sha256
+        (base32
+         "1qhfrbd5ybb0sinl9pad64rscr08qvlfzrzmi4p4hk61xn6phlmz"))))
+    (build-system trivial-build-system)
+    (arguments
+     (list
+      #:modules '((guix build utils))
+      #:builder #~(let ((source (assoc-ref %build-inputs "source"))
+                        (output (assoc-ref %outputs "out")))
+                    (use-modules (guix build utils))
+                    (install-file
+                     (string-append source "/process-compose") output))))
+    (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.")
+    (license license:expat)))
+
 (define-public fzy
   (package
     (name "fzy")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0.
  2024-03-21 18:16 [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0 Daniel Ziltener via Guix-patches via
  2024-03-21 18:16 ` Daniel Ziltener via Guix-patches via
@ 2024-04-06 19:00 ` Dale Mellor
  2024-04-07 14:13   ` Leo Famulari
  2024-04-16 10:01 ` Daniel Ziltener via Guix-patches via
  2 siblings, 1 reply; 5+ messages in thread
From: Dale Mellor @ 2024-04-06 19:00 UTC (permalink / raw)
  To: 69932

Hello,

   you need to understand that Guix can only take scrutable source as its
inputs, so that it can build binaries with a known specific build
infrastructure; all of this information needs to be available so that hashes can
be computed for the package which are tamper-evident and anyone must be able to
reproduce the exact hash under the same conditions, if they wish it, for their
own peace of mind.

   Thus this trivial-build dump-from-tarbomb approach cannot be accepted; the
package should be pulled directly from its GIT repository, and full build
instructions need to be provided to the Guix package management system.

   Please look at how other Go-sourced packages are done for some inspiration.

Thank you.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0.
  2024-04-06 19:00 ` Dale Mellor
@ 2024-04-07 14:13   ` Leo Famulari
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2024-04-07 14:13 UTC (permalink / raw)
  To: Dale Mellor; +Cc: 69932

On Sat, Apr 06, 2024 at 08:00:42PM +0100, Dale Mellor wrote:
>    you need to understand that Guix can only take scrutable source as its
> inputs, so that it can build binaries with a known specific build
> infrastructure; all of this information needs to be available so that hashes can
> be computed for the package which are tamper-evident and anyone must be able to
> reproduce the exact hash under the same conditions, if they wish it, for their
> own peace of mind.
> 
>    Thus this trivial-build dump-from-tarbomb approach cannot be accepted; the
> package should be pulled directly from its GIT repository, and full build
> instructions need to be provided to the Guix package management system.

To summarize, the package needs to build process-compose from source.
Please feel free to ask for help if necessary.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0.
  2024-03-21 18:16 [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0 Daniel Ziltener via Guix-patches via
  2024-03-21 18:16 ` Daniel Ziltener via Guix-patches via
  2024-04-06 19:00 ` Dale Mellor
@ 2024-04-16 10:01 ` Daniel Ziltener via Guix-patches via
  2 siblings, 0 replies; 5+ messages in thread
From: Daniel Ziltener via Guix-patches via @ 2024-04-16 10:01 UTC (permalink / raw)
  To: control, 69932

close 69932

thanks





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-16 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21 18:16 [bug#69932] [PATCH] gnu: shellutils: Add process-compose 0.88.0 Daniel Ziltener via Guix-patches via
2024-03-21 18:16 ` Daniel Ziltener via Guix-patches via
2024-04-06 19:00 ` Dale Mellor
2024-04-07 14:13   ` Leo Famulari
2024-04-16 10:01 ` Daniel Ziltener via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.