mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
posting: 2.3.0 -> 2.5.4 (#389665)
This commit is contained in:
@@ -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
pkgs/development/python-modules/openapi-pydantic/default.nix
Normal file
39
pkgs/development/python-modules/openapi-pydantic/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user