nixpkgs/pkgs/development/python-modules/voluptuous-openapi/default.nix
Martin Weinelt 32b55347b8 python3Packages.voluptuous-openapi: 0.2.0 -> 0.3.0
https://github.com/home-assistant-libs/voluptuous-openapi/releases/tag/0.3.0

This commit was automatically generated using update-python-libraries.
2026-02-01 17:40:48 +01:00

47 lines
1,009 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
voluptuous,
# tests
openapi-schema-validator,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "voluptuous-openapi";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "voluptuous-openapi";
tag = version;
hash = "sha256-e94D87plGOcdXFLmZ4MhOt5xWbcoqyo3FgYbbXV8nNU=";
};
build-system = [ setuptools ];
dependencies = [ voluptuous ];
nativeCheckInputs = [
openapi-schema-validator
pytestCheckHook
];
pythonImportsCheck = [ "voluptuous_openapi" ];
meta = {
changelog = "https://github.com/home-assistant-libs/voluptuous-openapi/releases/tag/${src.tag}";
description = "Convert voluptuous schemas to OpenAPI Schema object";
homepage = "https://github.com/home-assistant-libs/voluptuous-openapi";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
}