1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 pynose,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "aadict";
12 version = "0.2.3";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ six ];
23
24 nativeCheckInputs = [ pynose ];
25
26 pythonImportsCheck = [ "aadict" ];
27
28 meta = with lib; {
29 description = "An auto-attribute dict (and a couple of other useful dict functions)";
30 homepage = "https://github.com/metagriffin/aadict";
31 license = licenses.gpl3Plus;
32 maintainers = with maintainers; [ glittershark ];
33 };
34}