about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-06-03 09:07:01 -0500
committerGitHub <noreply@github.com>2019-06-03 09:07:01 -0500
commit168d253a00d988c5b1929c032d3ad2dad32b0a38 (patch)
treef7631de8da067bc9a61b5f47439b3251ff8aa9aa /pkgs
parent28bd05ce62957f7a513ec6f79613b53e702b82a1 (diff)
parenta0d1442ed8a4c57c01bb813ebe2011c38d4e6612 (diff)
Merge pull request #62539 from r-ryantm/auto-update/python2.7-python-stdnum
python27Packages.python-stdnum: 1.10 -> 1.11
Diffstat (limited to 'pkgs')
-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 5821921132435..06577249a02da 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";