Merge pull request #288325 from fabaff/myuplink

python311Packages.myuplink: init at 0.2.1
This commit is contained in:
Fabian Affolter 2024-02-14 08:52:46 +01:00 committed by GitHub
commit 6e7a772183
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,42 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "myuplink";
version = "0.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pajzo";
repo = "myuplink";
rev = "refs/tags/${version}";
hash = "sha256-wFtFRoT8JKBik5rmdZfz5CQlK4loseOovHfa08uVBo4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
];
pythonImportsCheck = [
"myuplink"
];
meta = with lib; {
description = "Module to interact with the myUplink API";
homepage = "https://github.com/pajzo/myuplink";
changelog = "https://github.com/pajzo/myuplink/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3269,9 +3269,10 @@
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast
myuplink
psutil-home-assistant
sqlalchemy
]; # missing inputs: myuplink
];
"nad" = ps: with ps; [
nad-receiver
];
@ -6250,6 +6251,7 @@
"mysensors"
"mystrom"
"mythicbeastsdns"
"myuplink"
"nam"
"namecheapdns"
"nanoleaf"

View File

@ -8189,6 +8189,8 @@ self: super: with self; {
myst-parser = callPackage ../development/python-modules/myst-parser { };
myuplink = callPackage ../development/python-modules/myuplink { };
n3fit = callPackage ../development/python-modules/n3fit { };
nad-receiver = callPackage ../development/python-modules/nad-receiver { };