[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli.
From: |
Marius Bakke |
Subject: |
[bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli. |
Date: |
Fri, 30 Aug 2019 16:25:20 +0200 |
* gnu/packages/python-web.scm (python-databricks-cli): New public variable.
---
gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3ed0c6dd16..8d11e9890f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -740,6 +740,46 @@ another XPath engine to find the matching elements in an
XML or HTML document.")
(define-public python2-cssselect
(package-with-python2 python-cssselect))
+(define-public python-databricks-cli
+ (package
+ (name "python-databricks-cli")
+ (version "0.8.7")
+ (home-page "https://github.com/databricks/databricks-cli")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wr373kh13gns007g8fm6c4kdrg2xnwk40fkdnlfx7l0yzjbgqy3"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append "./build/lib:"
+ (getenv "PYTHONPATH")))
+ (invoke "pytest" "tests" "-vv"))))))
+ (native-inputs
+ `(;; For tests.
+ ("python-decorator" ,python-decorator)
+ ("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
+ ("python-requests-mock" ,python-requests-mock)))
+ (propagated-inputs
+ `(("python-click" ,python-click)
+ ("python-configparser" ,python-configparser)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)
+ ("python-tabulate" ,python-tabulate)))
+ (synopsis "Command line interface for Databricks")
+ (description
+ "The Databricks Command Line Interface is a tool which provides an easy
+to use interface to the Databricks platform. The CLI is built on top of the
+Databricks REST APIs.")
+ (license license:asl2.0)))
+
(define-public python-openid-cla
(package
(name "python-openid-cla")
--
2.22.1
- [bug#37234] [PATCH 00/21] MLflow, Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 01/21] gnu: Add python-gunicorn., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli.,
Marius Bakke <=
- [bug#37234] [PATCH 05/21] gnu: Add python-minio., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 08/21] gnu: Add python-boto3., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 14/21] gnu: Add python-jsondiff., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 06/21] gnu: python-docker-py: Propagate runtime dependency., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 09/21] gnu: python-botocore: Remove unused inputs., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 17/21] gnu: Add python-aws-sam-translator., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 07/21] gnu: python-botocore: Update to 1.12.209., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 10/21] gnu: Add python-sshpubkeys., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint., Marius Bakke, 2019/08/30