Merge pull request #305702 from fabaff/nettigo-air-monitor-bump
python312Packages.nettigo-air-monitor: 2.2.2 -> 3.0.0
This commit is contained in:
commit
c9ff52c035
1 changed files with 21 additions and 22 deletions
|
@ -1,36 +1,36 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, aqipy-atmotech
|
||||
, buildPythonPackage
|
||||
, dacite
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-error-for-skips
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
aqipy-atmotech,
|
||||
buildPythonPackage,
|
||||
dacite,
|
||||
fetchFromGitHub,
|
||||
pytest-asyncio,
|
||||
pytest-error-for-skips,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nettigo-air-monitor";
|
||||
version = "2.2.2";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bieniu";
|
||||
repo = "nettigo-air-monitor";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Z88IkXQi9Uqc+HX++Cp5nj4S0puwMfToqXzBCnbG59g=";
|
||||
hash = "sha256-aiJoY+6sNfBmE1057UuMjV80hjVJ29t2X16IIe6dxWs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
aqipy-atmotech
|
||||
dacite
|
||||
|
@ -41,11 +41,10 @@ buildPythonPackage rec {
|
|||
pytest-asyncio
|
||||
pytest-error-for-skips
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nettigo_air_monitor"
|
||||
];
|
||||
pythonImportsCheck = [ "nettigo_air_monitor" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to get air quality data from Nettigo Air Monitor devices";
|
||||
|
|
Loading…
Reference in a new issue