11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
19 inherit pname version;
20 hash = "sha256-NckGmLVcaDlGCRF3F3qenAcToIYPDgSf69cmSczXe3A=";
23 propagatedBuildInputs = [
33 substituteInPlace attrdict/merge.py \
34 --replace "from collections" "from collections.abc"
35 substituteInPlace attrdict/mapping.py \
36 --replace "from collections" "from collections.abc"
37 substituteInPlace attrdict/default.py \
38 --replace "from collections" "from collections.abc"
39 substituteInPlace attrdict/mixins.py \
40 --replace "from collections" "from collections.abc"
43 # Tests are not shipped and source is not tagged
46 pythonImportsCheck = [
51 description = "A dict with attribute-style access";
52 homepage = "https://github.com/bcj/AttrDict";
53 license = licenses.mit;
54 maintainers = with maintainers; [ ];