mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
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:
commit
7620f016f1
39
pkgs/development/python-modules/pyrympro/default.nix
Normal file
39
pkgs/development/python-modules/pyrympro/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user