python3Packages.openapi-schema-validator: init at 0.1.5

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2021-04-26 18:46:08 -03:00
parent c52c7fb467
commit ac9adabaf5
No known key found for this signature in database
GPG Key ID: DA6EA2FACDB1CBD2
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, isodate
, jsonschema
, pytest-flake8
, pytestcov
, rfc3339-validator
, six
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "openapi-schema-validator";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "a4b2712020284cee880b4c55faa513fbc2f8f07f365deda6098f8ab943c9f0df";
};
propagatedBuildInputs = [ isodate jsonschema six strict-rfc3339 rfc3339-validator ];
checkInputs = [ pytestCheckHook pytestcov pytest-flake8 ];
pythonImportsCheck = [ "openapi_schema_validator" ];
meta = with lib; {
description = "Validates OpenAPI schema against the OpenAPI Schema Specification v3.0";
homepage = "https://github.com/p1c2u/openapi-schema-validator";
license = licenses.bsd3;
maintainers = with maintainers; [ AluisioASG ];
};
}

View File

@ -4594,6 +4594,8 @@ in {
openant = callPackage ../development/python-modules/openant { };
openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
openapi-spec-validator = callPackage ../development/python-modules/openapi-spec-validator { };
openbabel-bindings = callPackage ../development/python-modules/openbabel-bindings {