mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
54 lines
1.1 KiB
Nix
54 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 = "1.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Lash-L";
|
|
repo = "anova_wifi";
|
|
tag = "v${version}";
|
|
hash = "sha256-/9R/41gClcLuJoaJ+CokX9sh4mQryDUsleO+NylU1AE=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|