about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2019-06-02 14:47:23 -0700
committerMario Rodas <marsam@users.noreply.github.com>2019-06-03 09:01:40 -0500
commita0d1442ed8a4c57c01bb813ebe2011c38d4e6612 (patch)
tree20b1dd5682eff6993c67534efbb6bb061ae72b3f /pkgs
parent97aba37876c4513102b0acef05f3438c0b896840 (diff)
python27Packages.python-stdnum: 1.10 -> 1.11
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python2.7-python-stdnum/versions
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";