nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 26 lines 641 B view raw
1{ lib, stdenv, buildPythonPackage, fetchPypi, setuptools-scm }: 2 3buildPythonPackage rec { 4 pname = "configparser"; 5 version = "5.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1b35798fdf1713f1c3139016cfcbc461f09edbf099d1fb658d4b7479fcaa3daa"; 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}