Merge pull request #313842 from NixOS/backport-313831-to-release-24.05

[Backport release-24.05] python312Packages.pyrympro: init at 0.0.8
This commit is contained in:
Martin Weinelt 2024-05-23 02:50:53 +02:00 committed by GitHub
commit 7620f016f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,39 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyrympro";
version = "0.0.8";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "OnFreund";
repo = "pyrympro";
rev = "refs/tags/v${version}";
hash = "sha256-mRvKLPgtBgmFDTHqra7GslxsgsJpQ2w/DE0Zgz5jujk=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pyrympro" ];
meta = with lib; {
description = "Module to interact with Read Your Meter Pro";
homepage = "https://github.com/OnFreund/pyrympro";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3802,7 +3802,8 @@
zeroconf
];
"rympro" = ps: with ps; [
]; # missing inputs: pyrympro
pyrympro
];
"sabnzbd" = ps: with ps; [
pysabnzbd
];
@ -5777,6 +5778,7 @@
"ruckus_unleashed"
"ruuvi_gateway"
"ruuvitag_ble"
"rympro"
"sabnzbd"
"samsungtv"
"sanix"

View File

@ -10018,6 +10018,8 @@ self: super: with self; {
pyrogram = callPackage ../development/python-modules/pyrogram { };
pyrympro = callPackage ../development/python-modules/pyrympro { };
pysabnzbd = callPackage ../development/python-modules/pysabnzbd { };
pysbd = callPackage ../development/python-modules/pysbd { };