summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-stdnum
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2019-10-27 10:29:58 +0100
committerVladimír Čunát <vcunat@gmail.com>2019-10-27 10:29:58 +0100
commitd9c5d584cd027f3a7aa43f8fbc261bb19114f02b (patch)
treeff034b35b03a00587f691d9121b23cb5a4bc7d91 /pkgs/development/python-modules/python-stdnum
parent4f43e5fe886374ec918da4bf494710cd58c4adf7 (diff)
parent2896f00181b6dd11c3075bfc5706f02beec1e9e3 (diff)
Merge branch 'master' into release-docs
It's been a very long time, so I think a merge will be better than a rebase. There was only one simple conflict.
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 381ecec996d1..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.9";
+ version = "1.11";
pname = "python-stdnum";
- # Failing tests and dependency issue on Py3k
- disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "d587a520182f9d8aef7659cca429f4382881589c8883a0a55322b2f94970bdb3";
+ sha256 = "d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854";
};
+
+ checkInputs = [ nose ];
+
+ checkPhase = ''
+ nosetests
+ '';
+
meta = {
homepage = https://arthurdejong.org/python-stdnum/;
description = "Python module to handle standardized numbers and codes";