mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add emacs-python-black.
* gnu/packages/emacs-xyz.scm (emacs-python-black): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
d4a81f5b0c
commit
5b7e8b595e
1 changed files with 28 additions and 0 deletions
|
@ -5646,6 +5646,34 @@ (define-public emacs-popup
|
|||
and popup menus.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-python-black
|
||||
(package
|
||||
(name "emacs-python-black")
|
||||
(version "1.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/wbolster/emacs-python-black")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0fjnd85nlkck156dj6cahk8chhgkbgl2kwywqzi8bl4yj700m4dk"))))
|
||||
(build-system emacs-build-system)
|
||||
(propagated-inputs
|
||||
`(("emacs-dash" ,emacs-dash)
|
||||
("emacs-reformatter" ,emacs-reformatter)
|
||||
("python-black-macchiato" ,python-black-macchiato)))
|
||||
(arguments `(#:tests? #f))
|
||||
(home-page "https://github.com/wbolster/emacs-python-black")
|
||||
(synopsis "Reformat Python code via @code{python-black}")
|
||||
(description
|
||||
"This package makes it easy to reformat Python code using
|
||||
@code{python-black} and @code{python-black-macchiato} for entire and partial
|
||||
buffers, respectively.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public emacs-python-environment
|
||||
(package
|
||||
(name "emacs-python-environment")
|
||||
|
|
Loading…
Reference in a new issue