guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64134] [PATCH 12/17] gnu: Add python-degiro-connector.


From: Vinicius Monego
Subject: [bug#64134] [PATCH 12/17] gnu: Add python-degiro-connector.
Date: Sat, 17 Jun 2023 15:18:35 +0000

* gnu/packages/finance.scm (python-degiro-connector): New variable.
---
 gnu/packages/finance.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 5a655e3dfa..6149d667ed 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -122,6 +122,7 @@ (define-module (gnu packages finance)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages rpc)
   #:use-module (gnu packages security-token)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
@@ -1072,6 +1073,38 @@ (define-public python-alpha-vantage
 Vantage API.")
     (license license:expat)))
 
+(define-public python-degiro-connector
+  (package
+    (name "python-degiro-connector")
+    (version "2.0.23")
+    (source (origin
+              (method git-fetch) ;no tests in PyPI
+              (uri (git-reference
+                    (url "https://github.com/Chavithra/degiro-connector";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hd4689h31386qlqhznxq7jwpz1a4fnggk981byip2yh7gd6g0yz"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags #~(list "-m" "not network"
+                                ;; XXX: these tests failed, check why.
+                                "-k" (string-append
+                                      "not test_fixture_user_token"
+                                      " and not test_fixture_credentials"))))
+    (native-inputs (list python-poetry-core python-pytest python-pytest-mock))
+    (propagated-inputs (list python-grpcio
+                             python-onetimepass
+                             python-pandas
+                             python-protobuf
+                             python-requests
+                             python-wrapt))
+    (home-page "https://github.com/chavithra/degiro-connector";)
+    (synopsis "Library to access Degiro's API")
+    (description "This package provides a library to access Degiro's API.")
+    (license license:bsd-3)))
+
 (define-public python-mnemonic
   (package
     (name "python-mnemonic")
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]