summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2024-02-12 19:01:27 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2025-10-19 19:09:56 +0200
commit33cc8433b0e20f782815fb6675794282d7262391 (patch)
treef8bb0fc465733ca9027066675a92a1a0cfc0dfb7 /gnu
parente2e162a46d59f1dc4e7c7d72b8dd95ff3b91bd8d (diff)
gnu: Add python-schwifty.
* gnu/packages/finance.scm (python-schwifty): New variable. Change-Id: Ice95f618331866d15b41c9cc5ee2e038aa93c16f
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/finance.scm27
1 files changed, 26 insertions, 1 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index adc3a1b2cb4..f7a9a3b8de6 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2015, 2016, 2023 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016-2018, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
-;;; Copyright © 2016, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2020, 2024, 2025 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
@@ -110,6 +110,7 @@
#:use-module (gnu packages haskell-check)
#:use-module (gnu packages haskell-web)
#:use-module (gnu packages haskell-xyz)
+ #:use-module (gnu packages iso-codes)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages libedit)
#:use-module (gnu packages libevent)
@@ -1588,6 +1589,30 @@ The module also includes implementations of the Verhoeff,
Luhn and family of ISO/IEC 7064 check digit algorithms.")
(license license:lgpl2.1+)))
+(define-public python-schwifty
+ (package
+ (name "python-schwifty")
+ (version "2025.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "schwifty" version))
+ (sha256
+ (base32 "16d0q1yzrh9fn6ybbsvhr9wbgld27rvn152w4wdcibidq2jbi0s2"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatchling python-hatch-vcs python-pytest
+ python-pydantic-2))
+ (propagated-inputs (list python-importlib-resources python-pycountry
+ python-rstr python-typing-extensions))
+ (home-page "http://github.com/mdomke/schwifty/")
+ (synopsis "Python module to work with IBANs and BICs")
+ (description
+ "schwifty is a Python library that let's you easily work with
+IBANs and BICs as specified by the ISO. IBAN is the Internation Bank Account
+Number and BIC the Business Identifier Code. Both are used for international
+money transfer.")
+ (license license:expat)))
+
(define-public python-duniterpy
(package
(name "python-duniterpy")