python311Packages.pyasuswrt: init at 0.1.20
Library for communication with ASUSWRT routers via HTTP https://github.com/ollo69/pyasuswrt
This commit is contained in:
parent
7a500f65c4
commit
8ca90ac70f
45
pkgs/development/python-modules/pyasuswrt/default.nix
Normal file
45
pkgs/development/python-modules/pyasuswrt/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyasuswrt";
|
||||
version = "0.1.20";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ollo69";
|
||||
repo = "pyasuswrt";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QsqyijOYEtp6k2rsDheGMVij4s5a5ZfUfsLIq+BaYV8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Tests require physical hardware
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyasuswrt"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for communication with ASUSWRT routers via HTTP";
|
||||
homepage = "https://github.com/ollo69/pyasuswrt";
|
||||
changelog = "https://github.com/ollo69/pyasuswrt/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -9920,6 +9920,8 @@ self: super: with self; {
|
||||
|
||||
pyasn1-modules = callPackage ../development/python-modules/pyasn1-modules { };
|
||||
|
||||
pyasuswrt = callPackage ../development/python-modules/pyasuswrt { };
|
||||
|
||||
pyathena = callPackage ../development/python-modules/pyathena { };
|
||||
|
||||
pyatmo = callPackage ../development/python-modules/pyatmo { };
|
||||
|
Loading…
Reference in New Issue
Block a user