blob: dc415a846565ecff46cfb6b478108bb16bd009bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pyasuswrt";
version = "0.1.21";
pyproject = true;
src = fetchFromGitHub {
owner = "ollo69";
repo = "pyasuswrt";
tag = "v${version}";
hash = "sha256-kg475AWmc0i/W4dBg8jFmNyz3V67xjvzPkSlS09/9Oc=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ aiohttp ];
# Tests require physical hardware
doCheck = false;
pythonImportsCheck = [ "pyasuswrt" ];
meta = {
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 = lib.licenses.mit;
maintainers = [ ];
};
}
|