1{ lib, fetchPypi, buildPythonPackage, nose }:
2
3buildPythonPackage rec {
4 version = "1.14";
5 pname = "python-stdnum";
6 src = fetchPypi {
7 inherit pname version;
8 sha256 = "fd3a92b8ec82a159c41dbaa3c5397934d090090c92b04e346412e0fd7e6a1b1c";
9 };
10
11 checkInputs = [ nose ];
12
13 checkPhase = ''
14 nosetests
15 '';
16
17 meta = {
18 homepage = "https://arthurdejong.org/python-stdnum/";
19 description = "Python module to handle standardized numbers and codes";
20 maintainers = with lib.maintainers; [ johbo ];
21 license = lib.licenses.lgpl2Plus;
22 };
23}