Merge pull request #199590 from fabaff/aiomysensors-bump

python310Packages.aiomysensors: 0.3.1 -> 0.3.2
This commit is contained in:
Fabian Affolter 2022-11-05 01:32:06 +01:00 committed by GitHub
commit fcb005f99f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 14 deletions

View file

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "aiomysensors";
version = "0.3.1";
version = "0.3.2";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "MartinHjelmare";
repo = pname;
rev = "v${version}";
hash = "sha256-uzVtgJ4R2MK6lqruvmoqgkzVCLhjyaEV92X6U6+lwG4=";
hash = "sha256-XPvnZOshA+PdFOzOlJXMfRTRYSue0uHsNwQsCwv3WOU=";
};
nativeBuildInputs = [

View file

@ -1,31 +1,37 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, async_generator
, fetchFromGitHub
, paho-mqtt
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "asyncio-mqtt";
version = "0.12.1";
version = "0.13.0";
format = "setuptools";
src = fetchPypi {
pname = "asyncio_mqtt";
inherit version;
sha256 = "sha256-bb+FpF+U0m50ZUEWgK2jlHtQVG6YII1dUuegp+16fDg=";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sbtinstruments";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-On4N5KPnbwYrJguWwBdrnaNq58ZeGIPYSFzIRBfojpQ=";
};
propagatedBuildInputs = [
paho-mqtt
] ++ lib.optionals (pythonOlder "3.7") [
async_generator
] ++ lib.optionals (pythonOlder "3.10") [
typing-extensions
];
doCheck = false; # no tests
# Module will have tests starting with > 0.13.0
doCheck = false;
pythonImportsCheck = [ "asyncio_mqtt" ];
pythonImportsCheck = [
"asyncio_mqtt"
];
meta = with lib; {
description = "Idomatic asyncio wrapper around paho-mqtt";