about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aadict/default.nix
blob: 0988fab6d238999ad76758d661b94f169d5e5691 (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
{
  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 = "Auto-attribute dict (and a couple of other useful dict functions)";
    homepage = "https://github.com/metagriffin/aadict";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ glittershark ];
  };
}