python312Packages.pyindego: init at 3.1.1
This commit is contained in:
parent
e546289ea9
commit
41df6e2e2b
2 changed files with 68 additions and 0 deletions
66
pkgs/development/python-modules/pyindego/default.nix
Normal file
66
pkgs/development/python-modules/pyindego/default.nix
Normal file
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, aiohttp
|
||||
, requests
|
||||
, pytz
|
||||
|
||||
# tests
|
||||
, mock
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyindego";
|
||||
version = "3.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pyIndego";
|
||||
inherit version;
|
||||
hash = "sha256-lRDi6qYMaPI8SiSNe0vzlKb92axujt44aei8opNPDug=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
requests
|
||||
pytz
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Typeerror, presumably outdated tests
|
||||
"test_repr"
|
||||
"test_client_response_errors"
|
||||
"test_update_battery"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyIndego"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface for Bosch API for lawnmowers";
|
||||
homepage = "https://github.com/jm-73/pyIndego";
|
||||
changelog = "https://github.com/jm-73/pyIndego/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -9842,6 +9842,8 @@ self: super: with self; {
|
|||
|
||||
pyhumps = callPackage ../development/python-modules/pyhumps { };
|
||||
|
||||
pyindego = callPackage ../development/python-modules/pyindego { };
|
||||
|
||||
pyinstaller-versionfile = callPackage ../development/python-modules/pyinstaller-versionfile { };
|
||||
|
||||
pyisemail = callPackage ../development/python-modules/pyisemail { };
|
||||
|
|
Loading…
Reference in a new issue