From c67e5ca74b4c4ea80d83c09805f137033de0e077 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 4 Oct 2020 17:29:17 -0500 Subject: [PATCH 1/2] gnu: Add python-black-macchiato. * gnu/packages/python-xyz.scm (python-black-macchiato): New variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 865b87e301..f4a5a34303 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4077,6 +4077,27 @@ matching of file paths.") (description "Black is the uncompromising Python code formatter.") (license license:expat))) +(define-public python-black-macchiato + (package + (name "python-black-macchiato") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "black-macchiato" version)) + (sha256 + (base32 + "1drp5p697ni1xn5y2lbjpalgpkzy2i4cyxjj5pk4dxr0vk97dd7i")))) + (build-system python-build-system) + (propagated-inputs + `(("python-black" ,python-black))) + (home-page "https://github.com/wbolster/black-macchiato") + (synopsis "Partial @code{python-black} formatting") + (description + "This package is built on top the @{python-black} code formatter to +enable formatting of partial files.") + (license license:bsd-3))) + (define-public python-blinker (package (name "python-blinker") -- 2.28.0