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