mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #288325 from fabaff/myuplink
python311Packages.myuplink: init at 0.2.1
This commit is contained in:
commit
6e7a772183
42
pkgs/development/python-modules/myuplink/default.nix
Normal file
42
pkgs/development/python-modules/myuplink/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user