15 swagger-spec-validator,
23 buildPythonPackage rec {
24 pname = "bravado-core";
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
34 hash = "sha256-kyHmZNPl5lLKmm5i3TSi8Tfi96mQHqaiyBfceBJcOdw=";
37 nativeBuildInputs = [ setuptools ];
39 propagatedBuildInputs = [
41 jsonschema # jsonschema[format-nongpl]
47 swagger-spec-validator
50 ] ++ jsonschema.optional-dependencies.format-nongpl;
52 nativeCheckInputs = [ pytestCheckHook ];
54 checkInputs = [ mock ];
56 pythonImportsCheck = [ "bravado_core" ];
61 # take too long to run
66 description = "Library for adding Swagger support to clients and servers";
67 homepage = "https://github.com/Yelp/bravado-core";
68 changelog = "https://github.com/Yelp/bravado-core/blob/v${version}/CHANGELOG.rst";
69 license = licenses.bsd3;
70 maintainers = with maintainers; [