1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 voluptuous, 8}: 9 10buildPythonPackage rec { 11 pname = "voluptuous-serialize"; 12 version = "2.7.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "home-assistant-libs"; 17 repo = "voluptuous-serialize"; 18 tag = version; 19 hash = "sha256-vmBK4FJr15wOYHtH14OqeyY/vgVOSrpo0Sd9wqu4zgo="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ voluptuous ]; 25 26 pythonImportsCheck = [ "voluptuous_serialize" ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Convert Voluptuous schemas to dictionaries so they can be serialized"; 32 homepage = "https://github.com/home-assistant-libs/voluptuous-serialize"; 33 changelog = "https://github.com/home-assistant-libs/voluptuous-serialize/releases/tag/${version}"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}