1{ lib, fetchPypi, buildPythonPackage, nose }:
2
3buildPythonPackage rec {
4 version = "1.16";
5 pname = "python-stdnum";
6 src = fetchPypi {
7 inherit pname version;
8 sha256 = "4248d898042a801fc4eff96fbfe4bf63a43324854efe3b5534718c1c195c6f43";
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}