Files
nixpkgs/pkgs/development/python-modules/aioridwell/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

72 lines
1.3 KiB
Nix

{
lib,
aiohttp,
aresponses,
buildPythonPackage,
certifi,
fetchFromGitHub,
freezegun,
poetry-core,
pyjwt,
pytest-aiohttp,
pytest-asyncio,
pytestCheckHook,
pytz,
titlecase,
types-pytz,
}:
buildPythonPackage rec {
pname = "aioridwell";
version = "2025.09.0";
pyproject = true;
src = fetchFromGitHub {
owner = "bachya";
repo = "aioridwell";
tag = version;
hash = "sha256-lZ4Hmf1OruKTUMkpPYhqkqj+j+yeckXynjxa1oOtXzc=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
certifi
pyjwt
pytz
titlecase
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
aresponses
freezegun
pytest-aiohttp
pytest-asyncio
pytestCheckHook
types-pytz
];
disabledTests = [
# AssertionError: assert datetime.date(...
"test_get_next_pickup_event"
];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_
"examples/"
];
pythonImportsCheck = [ "aioridwell" ];
meta = {
description = "Python library for interacting with Ridwell waste recycling";
homepage = "https://github.com/bachya/aioridwell";
changelog = "https://github.com/bachya/aioridwell/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}