Unverified Commit c3afefda authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

posting: 2.3.0 -> 2.5.4 (#389665)

parents 763fac13 2fd066f3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -6,14 +6,14 @@
}:
python3Packages.buildPythonApplication rec {
  pname = "posting";
  version = "2.3.0";
  version = "2.5.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "darrenburns";
    repo = "posting";
    tag = version;
    hash = "sha256-lL85gJxFw8/e8Js+UCE9VxBMcmWRUkHh8Cq5wTC93KA=";
    hash = "sha256-6nFQSGCdmR4qZuleiY0xh76WgBIjs9OZtfpc16b4iws=";
  };

  pythonRelaxDeps = true;
@@ -40,6 +40,7 @@ python3Packages.buildPythonApplication rec {
      httpx
      textual-autocomplete
      textual
      openapi-pydantic
    ]
    ++ httpx.optional-dependencies.brotli
    ++ textual.optional-dependencies.syntax;
+39 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pydantic,
}:

buildPythonPackage rec {
  pname = "openapi-pydantic";
  version = "0.5.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mike-oakley";
    repo = "openapi-pydantic";
    rev = "v${version}";
    hash = "sha256-SMAjzHGuu+QVWe/y8jQ4UWJI9f+pLR2BxgjvE6vOT0Q=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    pydantic
  ];

  pythonImportsCheck = [
    "openapi_pydantic"
  ];

  meta = {
    description = "Pydantic OpenAPI schema implementation";
    homepage = "https://github.com/mike-oakley/openapi-pydantic";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ taha-yassine ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10151,6 +10151,8 @@ self: super: with self; {
  openapi-core = callPackage ../development/python-modules/openapi-core { };
  openapi-pydantic = callPackage ../development/python-modules/openapi-pydantic { };
  openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
  openapi-spec-validator = callPackage ../development/python-modules/openapi-spec-validator { };