1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "configparser";
12 version = "7.2.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "jaraco";
17 repo = "configparser";
18 tag = "v${version}";
19 hash = "sha256-ZPoHnmD0YjY3+dUW1NKDJjNOVrUFNOjQyMqamOsS2RQ=";
20 };
21
22 nativeBuildInputs = [
23 setuptools
24 setuptools-scm
25 ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 meta = with lib; {
30 description = "Updated configparser from Python 3.7 for Python 2.6+";
31 homepage = "https://github.com/jaraco/configparser";
32 license = licenses.mit;
33 maintainers = [ ];
34 };
35}