From 4a177f3666b4bc3936a1d6e94f888feddcaa3d31 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 11 Mar 2024 19:07:08 +0000 Subject: gn: Add python-cwltool. * gn/packages/cwl.scm (python-cwltool): New variable. --- gn/packages/cwl.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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"))))) -- cgit v1.2.3