python310Packages.configclass: init at 0.2.0

This commit is contained in:
Jonas Heinrich 2022-07-27 12:16:15 +02:00 committed by Yt
parent f792a3b365
commit 43f1105679
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, fetchPypi
, buildPythonPackage
, mergedict
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "configclass";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk=";
};
propagatedBuildInputs = [ mergedict ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "configclass" ];
meta = with lib; {
description = "A Python to class to hold configuration values";
homepage = "https://github.com/schettino72/configclass/";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}

View file

@ -1940,6 +1940,8 @@ in {
configargparse = callPackage ../development/python-modules/configargparse { };
configclass = callPackage ../development/python-modules/configclass { };
configobj = callPackage ../development/python-modules/configobj { };
configparser = callPackage ../development/python-modules/configparser { };