2021-06-04 09:07:49 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, setuptools-scm
|
2020-06-15 15:56:04 +00:00
|
|
|
, toml
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "configparser";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "5.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "85d5de102cfe6d14a5172676f09d19c465ce63d6019cf0a4ef13385fc535e828";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm toml ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Updated configparser from Python 3.7 for Python 2.6+.";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/jaraco/configparser";
|
|
|
|
};
|
|
|
|
}
|