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