[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/15: gnu: Add python-stdnum.
From: |
Danny Milosavljevic |
Subject: |
12/15: gnu: Add python-stdnum. |
Date: |
Mon, 22 Jan 2018 14:01:00 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 3da86c52e59040523f2df1d8a57ac96ff3493aed
Author: Adriano Peluso <address@hidden>
Date: Mon Jan 22 19:24:20 2018 +0100
gnu: Add python-stdnum.
* gnu/packages/finance.scm (python-stdnum, python2-stdnum): New variables.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/finance.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index ce0172b..c93f641 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2017 Vasile Dumitrascu <address@hidden>
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Eric Bavier <address@hidden>
+;;; Copyright © 2018 Adriano Peluso <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -720,3 +721,34 @@ agent.")
(description "This package allows using KeepKey as a hardware SSH/GPG
agent.")
(license license:lgpl3)))
+
+(define-public python-stdnum
+ (package
+ (name "python-stdnum")
+ (version "1.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-stdnum" version))
+ (sha256
+ (base32
+ "0hvr47q32xbyiznpmbg4r8rcvxhnf0lwf33hcpnynyik57djy5np"))))
+ (build-system python-build-system)
+ (home-page
+ "https://arthurdejong.org/python-stdnum/")
+ (synopsis
+ "Python module to handle standardized number and code formats")
+ (description
+ "This is a Python library that aims to provide functions to handle,
+parse and validate standard numbers.
+The module supports more than 100 different number formats
+amongst which a great number of VAT and other tax numbers,
+personal identity and company identification codes,
+international standard numbers (ISBN, IBAN, EAN, etc.)
+and various other formats.
+The module also inclused implementations of the Verhoeff,
+Luhn and family of ISO/IEC 7064 check digit algorithms. ")
+ (license license:lgpl2.1+)))
+
+(define-public python2-stdnum
+ (package-with-python2 python-stdnum))
- 03/15: gnu: wxwidgets: Use webkitgtk-2.4., (continued)
- 03/15: gnu: wxwidgets: Use webkitgtk-2.4., Danny Milosavljevic, 2018/01/22
- 05/15: gnu: python-relatorio: Update to 0.8.0., Danny Milosavljevic, 2018/01/22
- 04/15: gnu: python-magic: Update to 0.4.15., Danny Milosavljevic, 2018/01/22
- 07/15: gnu: tryton: Updated to 4.6.2., Danny Milosavljevic, 2018/01/22
- 08/15: gnu: Add python-phonenumbers., Danny Milosavljevic, 2018/01/22
- 06/15: gnu: trytond: Updated to 4.6.2., Danny Milosavljevic, 2018/01/22
- 10/15: gnu: Rename "trytond" to "python-trytond"., Danny Milosavljevic, 2018/01/22
- 15/15: gnu: aria-maestosa: Add scons-flags., Danny Milosavljevic, 2018/01/22
- 09/15: gnu: Add python-proteus., Danny Milosavljevic, 2018/01/22
- 13/15: gnu: Add python-trytond-party., Danny Milosavljevic, 2018/01/22
- 12/15: gnu: Add python-stdnum.,
Danny Milosavljevic <=
- 11/15: gnu: Add python-trytond-country., Danny Milosavljevic, 2018/01/22
- 14/15: gnu: python-proteus: Add dependencies., Danny Milosavljevic, 2018/01/22