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