about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aadict/default.nix
blob: 4ddf06bbb700a3fe3e568374591a3bf4ded7e89a (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
31
32
33
34
35
36
37
38
39
40
41
{ lib
, buildPythonPackage
, fetchPypi
, six
, pynose
, setuptools
}:

buildPythonPackage rec {
  pname = "aadict";
  version = "0.2.3";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    six
  ];

  nativeCheckInputs = [
    pynose
  ];

  pythonImportsCheck = [
    "aadict"
  ];

  meta = with lib; {
    description = "An auto-attribute dict (and a couple of other useful dict functions)";
    homepage = "https://github.com/metagriffin/aadict";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ glittershark ];
  };
}