[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47906] [PATCH 04/22] gnu: Add python-pyls-black.
From: |
Vinicius Monego |
Subject: |
[bug#47906] [PATCH 04/22] gnu: Add python-pyls-black. |
Date: |
Tue, 20 Apr 2021 05:22:28 +0000 |
* gnu/packages/python-xyz.scm (python-pyls-black): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a8fb9d9cbc..ae18466686 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -965,6 +965,39 @@ concepts.")
(define-public python2-h5py
(package-with-python2 python-h5py))
+(define-public python-pyls-black
+ (package
+ (name "python-pyls-black")
+ (version "0.4.6")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rupert/pyls-black/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cjf0mjn156qp0x6md6mncs31hdpzfim769c2lixaczhyzwywqnj"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:test-target "pytest"))
+ (propagated-inputs
+ `(("python-black" ,python-black)
+ ("python-language-server"
+ ,python-language-server)
+ ("python-toml" ,python-toml)))
+ (native-inputs
+ `(("python-flake8" ,python-flake8)
+ ("python-isort" ,python-isort)
+ ("python-mypy" ,python-mypy)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://github.com/rupert/pyls-black")
+ (synopsis "Black plugin for the Python Language Server")
+ (description "Black plugin for the Python Language Server.")
+ (license license:expat)))
+
(define-public python-sh
(package
(name "python-sh")
--
2.31.1
- [bug#47906] [PATCH 00/22] Add Spyder, Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 01/22] gnu: Add python-spyder-kernels., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 02/22] gnu: Add python-textdistance., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 03/22] gnu: Add python-three-merge., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 04/22] gnu: Add python-pyls-black.,
Vinicius Monego <=
- [bug#47906] [PATCH 05/22] gnu: Add python-pyls-spyder., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 06/22] gnu: python-watchdog: Update to 1.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 09/22] gnu: Add python-tinycss., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 12/22] gnu: Add python-pytest-qt., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 13/22] gnu: Add python-qtawesome., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 10/22] gnu: Add python-qstylizer., Vinicius Monego, 2021/04/20