Subject: [PATCH v2 1/5] gnu: Add python-ledgercomm

From: [email-masked]
Date: Sun, 27 Oct 2024 22:13:12 +0100

From: Jesse Eisses <[email-masked]>

Change-Id: If62d5425c346063787da81a47907f5ee84a749ab
---
 gnu/packages/finance.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index d4594a1083..262380d13e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2023 Attila Lendvai <[email-masked]>
 ;;; Copyright © 2024 Saku Laesvuori <[email-masked]>
 ;;; Copyright © 2024 Sharlatan Hellseher <[email-masked]>
+;;; Copyright © 2024 Jesse Eisses <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1100,6 +1101,24 @@ (define-public python-btchip-python
 Nano dongle.")
     (license license:asl2.0)))
 
+(define-public python-ledgercomm
+  (package
+    (name "python-ledgercomm")
+    (version "1.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "ledgercomm" version))
+              (sha256
+               (base32
+                "019f13h59yxxhyhvi5xz8b20pfhazbvn9sgx5x98mp2shj6cks8y"))))
+    (arguments
+     (list #:tests? #f))
+    (build-system pyproject-build-system)
+    (home-page "https://github.com/LedgerHQ/ledgercomm")
+    (synopsis "Library to communicate with Ledger Nano S/X and Speculos")
+    (description "Library to communicate with Ledger Nano S/X and Speculos")
+    (license license:expat)))
+
 (define-public python-trezor
   (package
     (name "python-trezor")

base-commit: 269e4034fcaf55324187efffb6ed5ba14d5e9286
-- 
2.46.0