Merge pull request #309217 from fabaff/pyrainbird-bump
python312Packages.pyrainbird: 4.0.2 -> 5.0.0
This commit is contained in:
@@ -1,29 +1,30 @@
|
||||
{ lib
|
||||
, aiohttp-retry
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, ical
|
||||
, parameterized
|
||||
, pycryptodome
|
||||
, pydantic
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-golden
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests-mock
|
||||
, responses
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
aiohttp-retry,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
freezegun,
|
||||
ical,
|
||||
mashumaro,
|
||||
parameterized,
|
||||
pycryptodome,
|
||||
pytest-aiohttp,
|
||||
pytest-asyncio,
|
||||
pytest-golden,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
requests,
|
||||
requests-mock,
|
||||
responses,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrainbird";
|
||||
version = "4.0.2";
|
||||
version = "6.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -32,7 +33,7 @@ buildPythonPackage rec {
|
||||
owner = "allenporter";
|
||||
repo = "pyrainbird";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-4AoxLZv0u8wCG3ihw0JqsqsO5zG5UyP4ebSX99ve8sg=";
|
||||
hash = "sha256-kRPRyEt31SJpNRXcTshGByKAfPzEj+CDNpEQp4Klgks=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -40,15 +41,13 @@ buildPythonPackage rec {
|
||||
--replace-fail "--cov=pyrainbird --cov-report=term-missing" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp-retry
|
||||
ical
|
||||
mashumaro
|
||||
pycryptodome
|
||||
pydantic
|
||||
python-dateutil
|
||||
pyyaml
|
||||
requests
|
||||
@@ -68,9 +67,7 @@ buildPythonPackage rec {
|
||||
responses
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyrainbird"
|
||||
];
|
||||
pythonImportsCheck = [ "pyrainbird" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with Rainbird controllers";
|
||||
|
||||
Reference in New Issue
Block a user