504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
30 lines
650 B
Nix
30 lines
650 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, mergedict
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "configclass";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mergedict ];
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|