python312Packages.py-sucks: init at 0.9.10

This commit is contained in:
Robert Schütz
2024-08-09 14:47:03 +02:00
committed by Martin Weinelt
parent 81d2ab48b2
commit dffa4ad728
2 changed files with 59 additions and 0 deletions
@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
click,
pycountry-convert,
pycryptodome,
requests,
sleekxmppfs,
requests-mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "py-sucks";
version = "0.9.10";
pyproject = true;
src = fetchFromGitHub {
owner = "mib1185";
repo = "py-sucks";
rev = "refs/tags/v${version}";
hash = "sha256-MjlE5HdxChAgV/O7cD3foqkmKie7FgRRxvOcW+NAtfA=";
};
build-system = [ setuptools ];
dependencies = [
click
pycountry-convert
pycryptodome
requests
sleekxmppfs
];
pythonImportsCheck = [ "sucks" ];
nativeCheckInputs = [
requests-mock
pytestCheckHook
];
disabledTests = [
# assumes $HOME is at a specific place
"test_config_file_name"
];
meta = {
changelog = "https://github.com/mib1185/py-sucks/releases/tag/v${version}";
description = "Library for controlling certain robot vacuums";
homepage = "https://github.com/mib1185/py-sucks";
license = lib.licenses.gpl3Only;
mainProgram = "sucks";
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -9296,6 +9296,8 @@ self: super: with self; {
py-radix-sr = callPackage ../development/python-modules/py-radix-sr { };
py-sucks = callPackage ../development/python-modules/py-sucks { };
nwdiag = callPackage ../development/python-modules/nwdiag { };
oasatelematics = callPackage ../development/python-modules/oasatelematics { };