all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52091] [PATCH] gnu: Add ccwl.
@ 2021-11-25  5:46 Arun Isaac
  2021-11-29 15:48 ` [bug#52091] [PATCH v2 0/1] " Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2021-11-25  5:46 UTC (permalink / raw)
  To: 52091; +Cc: Arun Isaac

* gnu/packages/bioinformatics.scm (ccwl): New variable.
---
 gnu/packages/bioinformatics.scm | 35 +++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 67335daead..ec34ff0916 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -142,6 +142,7 @@ (define-module (gnu packages bioinformatics)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages shells)
+  #:use-module (gnu packages skribilo)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages statistics)
@@ -15886,3 +15887,37 @@ (define-public r-cytonorm
 control samples and applying quantile normalization on all markers of
 interest.")
       (license license:gpl2+))))
+
+(define-public ccwl
+  (package
+    (name "ccwl")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://ccwl.systemreboot.net/releases/ccwl-"
+                           version ".tar.lz"))
+       (sha256
+        (base32
+         "1ar8rfz3zrksgygrv67zv77y8gfvvz54zcs546jn6j28y20basla"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
+    (inputs
+     `(("guile" ,guile-3.0)
+       ("guile-libyaml" ,guile-libyaml)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("lzip" ,lzip)
+       ;; To build documentation
+       ("cwltool" ,cwltool)
+       ("graphviz" ,graphviz)
+       ("skribilo" ,skribilo)))
+    (home-page "https://ccwl.systemreboot.net")
+    (synopsis "Concise common workflow language")
+    (description "The @acronym{ccwl, Concise Common Workflow Language} is a
+concise syntax to express CWL workflows.  ccwl is a compiler to generate CWL
+workflows from concise descriptions in ccwl.  It is implemented as an
+@acronym{EDSL, Embedded Domain Specific Language} in the Scheme programming
+language.")
+    (license license:gpl3+)))
-- 
2.34.0





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

* [bug#52091] [PATCH v2 0/1] Add ccwl
  2021-11-25  5:46 [bug#52091] [PATCH] gnu: Add ccwl Arun Isaac
@ 2021-11-29 15:48 ` Arun Isaac
  2021-11-29 15:48   ` [bug#52091] [PATCH v2 1/1] gnu: " Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2021-11-29 15:48 UTC (permalink / raw)
  To: 52091; +Cc: Arun Isaac

Hi,

In the last patch, I forgot to wrap the ccwl executable. I have fixed this in
the v2 patch.

Regards,
Arun

Arun Isaac (1):
  gnu: Add ccwl.

 gnu/packages/bioinformatics.scm | 53 +++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

-- 
2.34.0





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

* [bug#52091] [PATCH v2 1/1] gnu: Add ccwl.
  2021-11-29 15:48 ` [bug#52091] [PATCH v2 0/1] " Arun Isaac
@ 2021-11-29 15:48   ` Arun Isaac
  2021-12-09 15:30     ` [bug#52091] [PATCH] " Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2021-11-29 15:48 UTC (permalink / raw)
  To: 52091; +Cc: Arun Isaac

* gnu/packages/bioinformatics.scm (ccwl): New variable.
---
 gnu/packages/bioinformatics.scm | 53 +++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 67335daead..364fbad2cf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -142,6 +142,7 @@ (define-module (gnu packages bioinformatics)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages shells)
+  #:use-module (gnu packages skribilo)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages statistics)
@@ -15886,3 +15887,55 @@ (define-public r-cytonorm
 control samples and applying quantile normalization on all markers of
 interest.")
       (license license:gpl2+))))
+
+(define-public ccwl
+  (package
+    (name "ccwl")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://ccwl.systemreboot.net/releases/ccwl-"
+                           version ".tar.lz"))
+       (sha256
+        (base32
+         "1ar8rfz3zrksgygrv67zv77y8gfvvz54zcs546jn6j28y20basla"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags '("GUILE_AUTO_COMPILE=0") ; to prevent guild warnings
+       #:modules (((guix build guile-build-system)
+                   #:select (target-guile-effective-version))
+                  ,@%gnu-build-system-modules)
+       #:imported-modules ((guix build guile-build-system)
+                           ,@%gnu-build-system-modules)
+       #:phases
+       (modify-phases %standard-phases
+         (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/ccwl")
+                 `("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
+     `(("guile" ,guile-3.0)
+       ("guile-libyaml" ,guile-libyaml)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("lzip" ,lzip)
+       ;; To build documentation
+       ("cwltool" ,cwltool)
+       ("graphviz" ,graphviz)
+       ("skribilo" ,skribilo)))
+    (home-page "https://ccwl.systemreboot.net")
+    (synopsis "Concise common workflow language")
+    (description "The @acronym{ccwl, Concise Common Workflow Language} is a
+concise syntax to express CWL workflows.  ccwl is a compiler to generate CWL
+workflows from concise descriptions in ccwl.  It is implemented as an
+@acronym{EDSL, Embedded Domain Specific Language} in the Scheme programming
+language.")
+    (license license:gpl3+)))
-- 
2.34.0





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

* [bug#52091] [PATCH] gnu: Add ccwl.
  2021-11-29 15:48   ` [bug#52091] [PATCH v2 1/1] gnu: " Arun Isaac
@ 2021-12-09 15:30     ` Ludovic Courtès
  2021-12-10 10:07       ` bug#52091: " Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2021-12-09 15:30 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 52091

Hello,

Arun Isaac <arunisaac@systemreboot.net> skribis:

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

LGTM, go for it!

Thanks,
Ludo’.




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

* bug#52091: [PATCH] gnu: Add ccwl.
  2021-12-09 15:30     ` [bug#52091] [PATCH] " Ludovic Courtès
@ 2021-12-10 10:07       ` Arun Isaac
  0 siblings, 0 replies; 5+ messages in thread
From: Arun Isaac @ 2021-12-10 10:07 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 52091-done

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


Pushed after adding bash-minimal to inputs (now required due to the
wrap-program phase), thank you!

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

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

end of thread, other threads:[~2021-12-10 10:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25  5:46 [bug#52091] [PATCH] gnu: Add ccwl Arun Isaac
2021-11-29 15:48 ` [bug#52091] [PATCH v2 0/1] " Arun Isaac
2021-11-29 15:48   ` [bug#52091] [PATCH v2 1/1] gnu: " Arun Isaac
2021-12-09 15:30     ` [bug#52091] [PATCH] " Ludovic Courtès
2021-12-10 10:07       ` bug#52091: " Arun Isaac

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.