Files
nixpkgs/pkgs/development/python-modules/anova-wifi/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

55 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
aiohttp,
sensor-state-data,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "anova-wifi";
version = "0.17.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Lash-L";
repo = "anova_wifi";
tag = "v${version}";
hash = "sha256-TRiv5ljdVqc4qeX+fSH+aTDf5UyNII8/twlNx3KC6oI=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
sensor-state-data
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
];
disabledTests = [
# Makes network calls
"test_async_data_1"
# async def functions are not natively supported.
"test_can_create"
];
pythonImportsCheck = [ "anova_wifi" ];
meta = {
description = "Python package for reading anova sous vide api data";
homepage = "https://github.com/Lash-L/anova_wifi";
changelog = "https://github.com/Lash-L/anova_wifi/releases/tag/v${version}";
maintainers = with lib.maintainers; [ jamiemagee ];
license = lib.licenses.mit;
};
}