[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: Add python-forex-python.
From: |
guix-commits |
Subject: |
01/09: gnu: Add python-forex-python. |
Date: |
Tue, 25 Aug 2020 10:41:55 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 9b170887ce433bce412693fd12fd05d5916165df
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Aug 24 19:17:48 2020 -0300
gnu: Add python-forex-python.
* gnu/packages/python-xyz.scm (python-forex-python): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c62be2e..7a0307f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9498,6 +9498,43 @@ functions to find and load entry points.")
from elisp.")
(license license:gpl3)))
+(define-public python-forex-python
+ (package
+ (name "python-forex-python")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "forex-python" version))
+ (sha256
+ (base32 "1ma8cl1i2dh8aa99pifnlilyy4d1gd1s07fj0yd17wcbpsh532cj"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests are not included in the PyPI tarball. Also, the tests in the
+ ;; repository require online data.
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-requests" ,python-requests)
+ ("python-simplejson" ,python-simplejson)))
+ (home-page "https://github.com/MicroPyramid/forex-python")
+ (synopsis "Foreign exchange rates and currency conversion")
+ (description
+ "@code{python-forex-python} can be used to manipulate foreign
+exchange rates and to operate currency conversions.
+
+Features:
+@itemize
+@item List all currency rates.
+@item BitCoin price for all currencies.
+@item Converting amount to BitCoins.
+@item Get historical rates for any day since 1999.
+@item Conversion rate for one currency(ex; USD to INR).
+@item Convert amount from one currency to other.('USD 10$' to INR).
+@item Currency symbols.
+@item Currency names.
+@end itemize")
+ (license license:expat)))
+
(define-public python-nbconvert
(package
(name "python-nbconvert")
- branch master updated (2612ec8 -> 7f765a9), guix-commits, 2020/08/25
- 02/09: gnu: Add python-trytond-currency., guix-commits, 2020/08/25
- 03/09: gnu: Add python-trytond-company., guix-commits, 2020/08/25
- 05/09: gnu: Add python-simpleeval., guix-commits, 2020/08/25
- 01/09: gnu: Add python-forex-python.,
guix-commits <=
- 04/09: gnu: Add python-trytond-product., guix-commits, 2020/08/25
- 07/09: gnu: Add python-trytond-stock., guix-commits, 2020/08/25
- 08/09: gnu: Add python-trytond-stock-lot., guix-commits, 2020/08/25
- 06/09: gnu: Add python-trytond-account., guix-commits, 2020/08/25
- 09/09: gnu: cuirass: Update to 0.0.1-43.f2984c7., guix-commits, 2020/08/25