1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 attrs, 6 jsonpickle, 7 pbr, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "jschema-to-python"; 13 version = "1.2.3"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 pname = "jschema_to_python"; 18 inherit version; 19 sha256 = "76ff14fe5d304708ccad1284e4b11f96a658949a31ee7faed9e0995279549b91"; 20 }; 21 22 propagatedBuildInputs = [ 23 attrs 24 jsonpickle 25 pbr 26 ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 pythonImportsCheck = [ "jschema_to_python" ]; 31 32 meta = with lib; { 33 description = "Generate source code for Python classes from a JSON schema"; 34 homepage = "https://github.com/microsoft/jschema-to-python"; 35 license = licenses.mit; 36 maintainers = [ ]; 37 }; 38}