about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2015-09-18 13:57:31 +0900
committerPjotr Prins2015-09-18 13:57:31 +0900
commit8f66d31c13691d0d3086ffe16aca7e6a65d636cf (patch)
tree8170a7b7aeb042164e297be855864978da0271d1
parent2b5a7f5518eb0594c21fe087fd925eac8d68cf5e (diff)
downloadguix-bioinformatics-8f66d31c13691d0d3086ffe16aca7e6a65d636cf.tar.gz
cwl tools build
-rw-r--r--gn/packages/cwl.scm8
-rw-r--r--gn/packages/python.scm26
2 files changed, 33 insertions, 1 deletions
diff --git a/gn/packages/cwl.scm b/gn/packages/cwl.scm
index 81c386f..0d31148 100644
--- a/gn/packages/cwl.scm
+++ b/gn/packages/cwl.scm
@@ -34,7 +34,10 @@
      `(("python-schema-salad" ,python-schema-salad)
        ))
     (inputs
-      `(("python-setuptools" ,python-setuptools)))
+     `(("python-setuptools" ,python-setuptools)
+       ("python-pyparsing" ,python-pyparsing)
+       ))
+    (arguments `(#:tests? #f)) ;; No tests.
     (home-page
       "https://github.com/common-workflow-language/common-workflow-language")
     (synopsis
@@ -68,6 +71,9 @@
     (propagated-inputs
      `(("python-rdflib-4.2" ,python-rdflib-4.2)
        ("python-avro" ,python-avro)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-requests" ,python-requests)
+       ("python-shellescape" ,python-shellescape)
        ))
     (home-page
       "https://github.com/common-workflow-language/common-workflow-language")
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 1663d96..0228dae 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -127,3 +127,29 @@ powerful language for representing information.")
   (description
     "Avro is a serialization and RPC framework.")
   (license #f)))
+
+(define-public python-shellescape
+(package
+  (name "python-shellescape")
+  (version "3.4.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+             "https://pypi.python.org/packages/source/s/shellescape/shellescape-"
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "0n5ky1b2vw2y0d4xl3qybyp2rk0gq5frjs8nr8ak6mgj2fyb4676"))))
+  (build-system python-build-system)
+  (inputs
+    `(("python-setuptools" ,python-setuptools)))
+  (home-page
+    "https://github.com/chrissimpkins/shellescape")
+  (synopsis
+    "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)")
+  (description
+    "Shell escape a string to safely use it as a token in a shell command (backport of Python shlex.quote for Python versions 2.x & < 3.3)")
+  (license expat))
+)