python311Packages.pyacaia-async: init at 0.0.7

This commit is contained in:
Fabian Affolter 2023-10-14 18:02:31 +02:00
parent 3a388f757b
commit bed5a19747
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, bleak
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "pyacaia-async";
version = "0.0.7";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "pyacaia_async";
inherit version;
hash = "sha256-G3+mp/+skczj/GpvrzI/vSaZ/RC3vQz2d/hiD5WpGzM=";
};
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 ];
};
}

View File

@ -9625,6 +9625,8 @@ self: super: with self; {
py4j = callPackage ../development/python-modules/py4j { };
pyacaia-async = callPackage ../development/python-modules/pyacaia-async { };
pyacoustid = callPackage ../development/python-modules/pyacoustid { };
pyads = callPackage ../development/python-modules/pyads { };