From 0728b45295c8961c73cfbb55cc370c1a41279a8e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 22 Oct 2023 20:21:23 +0100 Subject: gnu: Add python-cwlformat. * gnu/packages/bioinformatics.scm (python-cwlformat): New variable. Change-Id: Ib2d79e350ab100c61c7afe2d5d3eafc72146e493 Signed-off-by: Arun Isaac --- gnu/packages/bioinformatics.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/bioinformatics.scm') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 935126d782..5ef83e73ab 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5131,6 +5131,33 @@ resources for bioinformatics.") doublets in single-cell RNA-seq data.") (license license:expat))) +(define-public python-cwlformat + (package + (name "python-cwlformat") + (version "2022.02.18") + (source + ;; The PyPI tarball is missing Readme.md. Readme.md is required for the + ;; build. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rabix/cwl-format") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0agkz2w86k91rc9m5vx5hsqi5nm6fcmzkng6j99hjapz0r9233ql")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-importlib-resources + python-ruamel.yaml)) + (home-page "https://github.com/rabix/cwl-format") + (synopsis "Prettifier for CWL code") + (description "@code{python-cwlformat} is a specification and a reference +implementation for a very opinionated @acronym{CWL, Common Workflow Language} +code formatter. It outputs CWL in a standardized YAML format.") + (license license:asl2.0))) + (define-public cwltool (package (name "cwltool") -- cgit v1.2.3