about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/configclass/default.nix
blob: bb56f3c745da6c4a67c6381b28f81d713d1ed640 (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
30
{ 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 ];
  };
}