f7bad94076
Diff: https://github.com/home-assistant-libs/annotatedyaml/compare/v1.0.0...v1.0.2 Changelog: https://github.com/home-assistant-libs/annotatedyaml/blob/v1.0.2/CHANGELOG.md
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cython,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
propcache,
|
|
pytest-asyncio,
|
|
pytest-codspeed,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
setuptools,
|
|
voluptuous,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "annotatedyaml";
|
|
version = "1.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "home-assistant-libs";
|
|
repo = "annotatedyaml";
|
|
tag = "v${version}";
|
|
hash = "sha256-+4H3StCZ58TDV6LSXyeC6+Vn56W19+bIO4AdsJEfHI0=";
|
|
};
|
|
|
|
build-system = [
|
|
cython
|
|
poetry-core
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
propcache
|
|
pyyaml
|
|
voluptuous
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytest-codspeed
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "annotatedyaml" ];
|
|
|
|
meta = {
|
|
description = "Annotated YAML that supports secrets for Python";
|
|
homepage = "https://github.com/home-assistant-libs/annotatedyaml";
|
|
changelog = "https://github.com/home-assistant-libs/annotatedyaml/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|