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