summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oanda.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/oanda.scm b/oanda.scm
new file mode 100644
index 0000000..881b37b
--- /dev/null
+++ b/oanda.scm
@@ -0,0 +1,29 @@
+(define-module (oanda)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
+ #:use-module (guix build utils)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module ((guix licenses) :prefix license:)
+)
+
+(define-public python-oanda-v20
+ (package
+ (name "python-oanda-v20")
+ (version "3.0.25.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "v20" version))
+ (sha256
+ (base32 "1wll5gw6mqpfz3mc1k5bz1xgc7d11y4ihvvqqfsy9284jxv8zwgv"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-requests python-ujson python-pyyaml))
+ (home-page "https://github.com/oanda/v20-python")
+ (synopsis "OANDA v20 bindings for Python")
+ (description "OANDA v20 bindings for Python")
+ (license license:expat)))
+