unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75920] [PATCH] gnu: Add ravanan.
@ 2025-01-29  0:57 Arun Isaac
  2025-02-03 20:33 ` Sharlatan Hellseher
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Isaac @ 2025-01-29  0:57 UTC (permalink / raw)
  To: 75920; +Cc: Arun Isaac

* gnu/packages/bioinformatics.scm (ravanan): New variable.

Change-Id: Ib93ea64a3a0313be167dd1cd2f036c72f1c0f138
---
 gnu/packages/bioinformatics.scm | 60 +++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 317c15817e8..a08f04e932a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -103,6 +103,7 @@ (define-module (gnu packages bioinformatics)
   #:use-module (gnu packages golang-compression)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnupg)
   #:use-module (gnu packages graph)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages graphviz)
@@ -134,6 +135,7 @@ (define-module (gnu packages bioinformatics)
   #:use-module (gnu packages node)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages pcre)
+  #:use-module (gnu packages package-management)
   #:use-module (gnu packages parallel)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
@@ -6586,6 +6588,64 @@ (define-public cwltool
 CWL descriptions.")
     (license license:asl2.0)))
 
+(define-public ravanan
+  (package
+    (name "ravanan")
+    (version "0.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/arunisaac/ravanan/releases/download/v"
+                    version "/ravanan-" version ".tar.lz"))
+              (sha256
+               (base32
+                "163r3iyqfdwd3bizm36axfsvnppqwqd6zxl2vwf7sq0lcgl2zx5p"))))
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "prefix=" #$output)
+                   (string-append "NODE=" (search-input-file %build-inputs "bin/node")))
+           #:modules `(((guix build guile-build-system)
+                        #:select (target-guile-effective-version))
+                       ,@%default-gnu-imported-modules)
+           #:phases
+           (with-imported-modules `((guix build guile-build-system)
+                                    ,@%default-gnu-imported-modules)
+             #~(modify-phases %standard-phases
+                 (delete 'configure)
+                 (add-after 'install 'wrap
+                   (lambda* (#:key inputs outputs #:allow-other-keys)
+                     (let ((out (assoc-ref outputs "out"))
+                           (effective-version (target-guile-effective-version)))
+                       (wrap-program (string-append out "/bin/ravanan")
+                         `("GUILE_LOAD_PATH" prefix
+                           (,(string-append out "/share/guile/site/" effective-version)
+                            ,(getenv "GUILE_LOAD_PATH")))
+                         `("GUILE_LOAD_COMPILED_PATH" prefix
+                           (,(string-append out "/lib/guile/"
+                                            effective-version "/site-ccache")
+                            ,(getenv "GUILE_LOAD_COMPILED_PATH")))))))))))
+    (inputs
+     (list bash-minimal
+           node
+           guile-3.0
+           guile-filesystem
+           guile-gcrypt
+           guile-json-4
+           guile-libyaml
+           guix))
+    (native-inputs
+     (list lzip))
+    (build-system gnu-build-system)
+    (home-page "https://github.com/arunisaac/ravanan")
+    (synopsis "High-reproducibility CWL runner powered by Guix")
+    (description "ravanan is a @acronym{CWL, Common Workflow Language}
+implementation that is powered by GNU Guix and provides strong reproducibility
+guarantees.  ravanan provides strong caching of intermediate results so the
+same step of a workflow is never run twice.  ravanan captures logs from every
+step of the workflow for easy tracing back in case of job failures.  ravanan
+currently runs on single machines and on slurm via its API.")
+    (license license:gpl3+)))
+
 (define-public python-dendropy
   (package
     (name "python-dendropy")

base-commit: e90bd12f49e08f4d30007e80eaf5649ef98b5517
-- 
2.47.1





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

* [bug#75920] [PATCH] gnu: Add ravanan.
  2025-01-29  0:57 [bug#75920] [PATCH] gnu: Add ravanan Arun Isaac
@ 2025-02-03 20:33 ` Sharlatan Hellseher
  2025-02-03 21:43   ` bug#75920: " jgart via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Sharlatan Hellseher @ 2025-02-03 20:33 UTC (permalink / raw)
  To: 75920; +Cc: poptsov.artyom

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]


Hi Arun,

Patch visually looks ok for me.

I CC Guile user to verify some other build formating otions.

For some reason we have no guile team ^.-

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#75920: [PATCH] gnu: Add ravanan.
  2025-02-03 20:33 ` Sharlatan Hellseher
@ 2025-02-03 21:43   ` jgart via Guix-patches via
  2025-02-09 11:59     ` [bug#75920] " Arun Isaac
  0 siblings, 1 reply; 4+ messages in thread
From: jgart via Guix-patches via @ 2025-02-03 21:43 UTC (permalink / raw)
  To: 75920-done; +Cc: Arun Isaac, Sharlatan Hellseher


> I CC Guile user to verify some other build formating otions.
> 
> For some reason we have no guile team ^.-

Hi Oleg,

Oops I missed your message. This patch is already applied.

Arun,

Feel free to open a new ticket if you need to add more build formatting
option suggestions.

-- 
all the best,
jgart




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

* [bug#75920] [PATCH] gnu: Add ravanan.
  2025-02-03 21:43   ` bug#75920: " jgart via Guix-patches via
@ 2025-02-09 11:59     ` Arun Isaac
  0 siblings, 0 replies; 4+ messages in thread
From: Arun Isaac @ 2025-02-09 11:59 UTC (permalink / raw)
  To: jgart, 75920-done; +Cc: Sharlatan Hellseher


Thank you both!




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

end of thread, other threads:[~2025-02-09 12:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29  0:57 [bug#75920] [PATCH] gnu: Add ravanan Arun Isaac
2025-02-03 20:33 ` Sharlatan Hellseher
2025-02-03 21:43   ` bug#75920: " jgart via Guix-patches via
2025-02-09 11:59     ` [bug#75920] " Arun Isaac

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).