2022-09-14 21:36:06 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm }:
|
2018-03-31 17:08:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "configparser";
|
2022-09-14 21:36:06 +00:00
|
|
|
version = "5.3.0";
|
|
|
|
format = "pyproject";
|
2018-03-31 17:08:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-i+JngktUHAmwjbEkkX9Iq1JabD6DcBHzEweBoiTFcJA=";
|
2018-03-31 17:08:32 +00:00
|
|
|
};
|
|
|
|
|
2021-08-27 00:25:52 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2019-10-24 06:47:28 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-09-14 21:36:06 +00:00
|
|
|
|
2019-02-14 07:37:13 +00:00
|
|
|
preConfigure = ''
|
2019-02-22 17:31:36 +00:00
|
|
|
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
|
2019-02-14 07:37:13 +00:00
|
|
|
'';
|
2018-03-31 17:08:32 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-02-14 07:37:13 +00:00
|
|
|
description = "Updated configparser from Python 3.7 for Python 2.6+.";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jaraco/configparser";
|
2022-09-14 21:36:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
2018-03-31 17:08:32 +00:00
|
|
|
};
|
|
|
|
}
|