1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "python-stdnum"; 10 version = "1.17"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-N04rXhORLM2/ULCyP8osPgUxF0gFwy104UXzd1Yyg0A="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ 25 "stdnum" 26 ]; 27 28 meta = with lib; { 29 description = "Python module to handle standardized numbers and codes"; 30 homepage = "https://arthurdejong.org/python-stdnum/"; 31 license = licenses.lgpl21Plus; 32 maintainers = with maintainers; [ johbo ]; 33 }; 34}