1{ lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm }: 2 3buildPythonPackage rec { 4 pname = "configparser"; 5 version = "5.3.0"; 6 format = "pyproject"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "sha256-i+JngktUHAmwjbEkkX9Iq1JabD6DcBHzEweBoiTFcJA="; 11 }; 12 13 nativeBuildInputs = [ setuptools-scm ]; 14 15 checkInputs = [ pytestCheckHook ]; 16 17 preConfigure = '' 18 export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8 19 ''; 20 21 meta = with lib; { 22 description = "Updated configparser from Python 3.7 for Python 2.6+."; 23 homepage = "https://github.com/jaraco/configparser"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ ]; 26 }; 27}