2023-10-14 16:02:31 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
bleak,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
wheel,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyacaia-async";
|
2024-11-15 10:10:12 +00:00
|
|
|
version = "0.1.2";
|
2023-10-14 16:02:31 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pyacaia_async";
|
|
|
|
inherit version;
|
2024-11-15 10:10:12 +00:00
|
|
|
hash = "sha256-RwiASn6mD6BhZByoHVqaCH7koVhN5wQorG2l51wFAcI=";
|
2023-10-14 16:02:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bleak ];
|
|
|
|
|
|
|
|
# Module has no tests in PyPI releases
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyacaia_async" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module to interact with Acaia scales";
|
|
|
|
homepage = "https://github.com/zweckj/pyacaia_async";
|
|
|
|
license = with licenses; [
|
|
|
|
gpl3Only
|
|
|
|
mit
|
|
|
|
];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|