1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "addict";
10 version = "2.4.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "b3b2210e0e067a281f5646c8c5db92e99b7231ea8b0eb5f74dbdf9e259d4e494";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 pythonImportsCheck = [ "addict" ];
21
22 meta = with lib; {
23 description = "Module that exposes a dictionary subclass that allows items to be set like attributes";
24 homepage = "https://github.com/mewwts/addict";
25 license = with licenses; [ mit ];
26 maintainers = with maintainers; [ veprbl ];
27 };
28}