aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-03-11 19:07:08 +0000
committerArun Isaac2024-03-11 19:07:08 +0000
commit4a177f3666b4bc3936a1d6e94f888feddcaa3d31 (patch)
tree2f4a1ac52aacb648092a5f6eaa131acac2ce2753
parenta32299d4d002485e8b8142a14b21d46d2bb3f989 (diff)
downloadguix-bioinformatics-4a177f3666b4bc3936a1d6e94f888feddcaa3d31.tar.gz
gn: Add python-cwltool.
* gn/packages/cwl.scm (python-cwltool): New variable.
-rw-r--r--gn/packages/cwl.scm15
1 files changed, 14 insertions, 1 deletions
diff --git a/gn/packages/cwl.scm b/gn/packages/cwl.scm
index a327187..96dad02 100644
--- a/gn/packages/cwl.scm
+++ b/gn/packages/cwl.scm
@@ -4,7 +4,8 @@
#:use-module (guix packages)
#:use-module (guix build-system python)
#:use-module (gnu packages)
- #:use-module (gnu packages bioinformatics))
+ #:use-module (gnu packages bioinformatics)
+ #:use-module (gnu packages node)
(define-public cwl-runner
@@ -28,3 +29,15 @@
"Common workflow language alternate entry point to allow cwl-runner
script as an implementation-agnostic script interpreter.")
(license license:asl2.0)))
+
+;; python-toil tightly integrates with cwltool using it as a library. So,
+;; create a library version of cwltool where inputs become propagated inputs.
+(define-public python-cwltool
+ (package
+ (inherit cwltool)
+ (name "python-cwltool")
+ (inputs
+ (list node))
+ (propagated-inputs
+ (modify-inputs (package-inputs cwltool)
+ (delete "node")))))