nixpkgs/pkgs/development/python-modules/configclass/default.nix
2022-08-12 22:41:07 -04:00

30 lines
621 B
Nix

{ 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 ];
};
}