Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 28 lines 653 B view raw
1{ lib, stdenv, buildPythonPackage, fetchPypi, setuptools_scm 2, toml 3}: 4 5buildPythonPackage rec { 6 pname = "configparser"; 7 version = "5.0.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "85d5de102cfe6d14a5172676f09d19c465ce63d6019cf0a4ef13385fc535e828"; 12 }; 13 14 # No tests available 15 doCheck = false; 16 17 nativeBuildInputs = [ setuptools_scm toml ]; 18 19 preConfigure = '' 20 export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8 21 ''; 22 23 meta = with lib; { 24 description = "Updated configparser from Python 3.7 for Python 2.6+."; 25 license = licenses.mit; 26 homepage = "https://github.com/jaraco/configparser"; 27 }; 28}