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