1{ lib, stdenv, buildPythonPackage, fetchPypi, setuptools-scm }: 2 3buildPythonPackage rec { 4 pname = "configparser"; 5 version = "5.0.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "85d5de102cfe6d14a5172676f09d19c465ce63d6019cf0a4ef13385fc535e828"; 10 }; 11 12 # No tests available 13 doCheck = false; 14 15 nativeBuildInputs = [ setuptools-scm ]; 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 license = licenses.mit; 24 homepage = "https://github.com/jaraco/configparser"; 25 }; 26}