1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 six, 8}: 9 10buildPythonPackage rec { 11 pname = "querystring-parser"; 12 version = "1.2.4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "querystring_parser"; 19 inherit version; 20 hash = "sha256-ZE/OHP/gUwRTtDqDo4CU2+QizLqMmy8qHAAoDhTKimI="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ six ]; 26 27 # https://github.com/bernii/querystring-parser/issues/35 28 doCheck = false; 29 30 pythonImportsCheck = [ "querystring_parser" ]; 31 32 meta = with lib; { 33 description = "Module to handle nested dictionaries"; 34 homepage = "https://github.com/bernii/querystring-parser"; 35 changelog = "https://github.com/bernii/querystring-parser/releases/tag/${version}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ tbenst ]; 38 }; 39}