depot/third_party/nixpkgs/pkgs/development/python-modules/configclass/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
657 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 ];
};
}