summary refs log tree commit diff
path: root/pkgs/development/python-modules/configclass/default.nix
blob: 8acf5aaad5162202d8f9412a7c864cc55930bb16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];

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