1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pytest-cov-stub,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "configupdater";
12 version = "3.2";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit version;
17 pname = "ConfigUpdater";
18 hash = "sha256-n9rFODHBsGKSm/OYtkm4fKMOfxpzXz+/SCBygEEGMGs=";
19 };
20
21 nativeBuildInputs = [ setuptools-scm ];
22
23 pythonImportsCheck = [ "configupdater" ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 pytest-cov-stub
28 ];
29
30 meta = with lib; {
31 description = "Parser like ConfigParser but for updating configuration files";
32 homepage = "https://configupdater.readthedocs.io/en/latest/";
33 license = with licenses; [
34 mit
35 psfl
36 ];
37 maintainers = with maintainers; [ ris ];
38 };
39}