1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 mergedict,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "configclass";
11 version = "0.2.0";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk=";
17 };
18
19 propagatedBuildInputs = [ mergedict ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "configclass" ];
24
25 meta = with lib; {
26 description = "Python to class to hold configuration values";
27 homepage = "https://github.com/schettino72/configclass/";
28 license = licenses.mit;
29 maintainers = with maintainers; [ onny ];
30 };
31}