1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "immutabledict"; 10 version = "2.2.1"; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "corenting"; 15 repo = "immutabledict"; 16 rev = "v${version}"; 17 sha256 = "sha256-z04xxoCw0eBtkt++y/1yUsAPaLlAGUtWBdRBM74ul1c="; 18 }; 19 20 nativeBuildInputs = [ 21 poetry-core 22 ]; 23 24 pythonImportsCheck = [ 25 "immutabledict" 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 ]; 31 32 meta = with lib; { 33 description = "A fork of frozendict, an immutable wrapper around dictionaries"; 34 homepage = "https://github.com/corenting/immutabledict"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ hexa ]; 37 }; 38} 39