at master 831 B view raw
1{ 2 buildPythonPackage, 3 coverage, 4 fetchPypi, 5 jsonschema, 6 lib, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "genson"; 13 version = "1.3.0"; 14 pyproject = true; 15 16 # Using Python repository source due to missing genson.schema in setup tools. 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-4C25rC4/0p5ltShvcTV2LizYqYZTfAdbBvxfFRcwjjc="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ 25 jsonschema 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ 30 "test_no_input" 31 ]; 32 33 pythonImportsCheck = [ "genson" ]; 34 35 meta = { 36 description = "GenSON a JSON Schema generator built in Python"; 37 homepage = "https://github.com/wolverdude/GenSON"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ tochiaha ]; 40 mainProgram = "genson"; 41 }; 42}