summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-16 04:05:16 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-16 15:45:33 +0100
commit200acbc34b9fe24f6c204e419d357da3197ea891 (patch)
tree3a6bab4c6a67b74f3897ed9e2516d3aeafaa6fdc /gnu/packages
parent0a044f75b54d92417debf600fe7c4c4f86af344d (diff)
downloadguix-200acbc34b9fe24f6c204e419d357da3197ea891.tar.gz
gnu: python-stdnum: Update to 1.13.
* gnu/packages/finance.scm (python-stdnum): Update to 1.13.
[arguments]: New field.
[native-inputs]: Add PYTHON-NOSE.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/finance.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 89a7ffe956..0e44802fe1 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -982,15 +982,22 @@ agent.")
 (define-public python-stdnum
   (package
     (name "python-stdnum")
-    (version "1.8.1")
+    (version "1.13")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "python-stdnum" version))
        (sha256
         (base32
-         "0hvr47q32xbyiznpmbg4r8rcvxhnf0lwf33hcpnynyik57djy5np"))))
+         "0q4128rjdgavywhzlm2gz2n5ybc9b9sxs81g50dvxf5q7z9q63qj"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "nosetests"))))))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
     (home-page
      "https://arthurdejong.org/python-stdnum/")
     (synopsis