1{ lib 2, buildPythonPackage 3, fetchPypi 4, flit 5, hypothesis 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "validobj"; 11 version = "0.6"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-BvnHn0Erk87Ce3tYwYf0tBwRJMrG19Af/Y568VJ02uo="; 17 }; 18 19 nativeBuildInputs = [ flit ]; 20 21 checkInputs = [ hypothesis pytestCheckHook ]; 22 23 pythonImportsCheck = [ "validobj" ]; 24 25 meta = with lib; { 26 description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects"; 27 homepage = "https://github.com/Zaharid/validobj"; 28 license = with licenses; [ mit ]; 29 maintainers = with maintainers; [ veprbl ]; 30 }; 31}