depot/third_party/nixpkgs/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

56 lines
1.1 KiB
Nix

{
lib,
aioconsole,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
pythonOlder,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "whirlpool-sixth-sense";
version = "0.18.9";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "abmantis";
repo = "whirlpool-sixth-sense";
rev = "refs/tags/${version}";
hash = "sha256-aDvUV83o/yKx15kenDGng5xh3LECLVlLWJlVe/y+1Co=";
};
build-system = [ setuptools ];
dependencies = [
aioconsole
aiohttp
async-timeout
websockets
];
nativeCheckInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
# https://github.com/abmantis/whirlpool-sixth-sense/issues/15
doCheck = false;
pythonImportsCheck = [ "whirlpool" ];
meta = with lib; {
description = "Python library for Whirlpool 6th Sense appliances";
homepage = "https://github.com/abmantis/whirlpool-sixth-sense/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}