summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-stdnum
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-09-02 01:31:31 -0400
committerJohn Ericson <git@JohnEricson.me>2019-09-02 01:31:31 -0400
commitc33d80c071927d783bd10943e723ed408ec89e48 (patch)
treeee0d82edaae37f797995468b8dbd5ce4beffab27 /pkgs/development/python-modules/python-stdnum
parent446f8c851d599326373a2c910841d092ff8e68ae (diff)
parent74b42e28b94cc42f93b50c5aeee8794f66795fd0 (diff)
Merge remote-tracking branch 'upstream/master' into feature/js-unknown-ghcjs
Diffstat (limited to 'pkgs/development/python-modules/python-stdnum')
-rw-r--r--pkgs/development/python-modules/python-stdnum/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
index 582192113243..06577249a02d 100644
--- a/pkgs/development/python-modules/python-stdnum/default.nix
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -1,14 +1,19 @@
-{ lib, fetchPypi, buildPythonPackage, isPy3k }:
+{ lib, fetchPypi, buildPythonPackage, nose }:
buildPythonPackage rec {
- version = "1.10";
+ version = "1.11";
pname = "python-stdnum";
- # Failing tests and dependency issue on Py3k
- disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "0prs63q8zdgwr5cxc5a43zvsm66l0gf9jk19qdf85m6isnp5186a";
+ sha256 = "d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854";
};
+
+ checkInputs = [ nose ];
+
+ checkPhase = ''
+ nosetests
+ '';
+
meta = {
homepage = https://arthurdejong.org/python-stdnum/;
description = "Python module to handle standardized numbers and codes";