[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add emacs-blacken.
From: |
guix-commits |
Subject: |
01/01: gnu: Add emacs-blacken. |
Date: |
Thu, 19 Sep 2019 20:35:25 -0400 (EDT) |
leungbk pushed a commit to branch emacs-blacken
in repository guix.
commit 32fb07ff05a02b9d0f7c81bcb0d6e02a3733d23e
Author: Brian Leung <address@hidden>
Date: Fri Sep 13 03:05:23 2019 +0200
gnu: Add emacs-blacken.
* gnu/packages/emacs-xyz.scm (emacs-blacken): New variable.
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cbda68c..880f6b7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4072,6 +4072,29 @@ the locations of docstrings, arguments, and functions.")
"This package provides a Company backend for Python.")
(license license:gpl3+)))
+(define-public emacs-blacken
+ (let ((commit "e076442c15bb8811a6b9593777dd0a2d97894774")
+ (revision "1"))
+ (package
+ (name "emacs-blacken")
+ (version (git-version "0.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pythonic-emacs/blacken")
+ (commit commit)))
+ (sha256
+ (base32
+ "1kj768wc9ykb5k8l73zkpmn9gl9cr6myyl60855vsmid36p19bm2"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/pythonic-emacs/blacken")
+ (synopsis "Reformat Python buffers using the @code{black} formatter")
+ (description
+ "This package provides a minor mode that reformats a Python buffer
+before saving.")
+ (license license:gpl3+))))
+
(define-public emacs-puppet-mode
(let ((commit "b3ed5057166a4f49dfa9be638523a348b55a2fd2")
(revision "1"))