Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyasuswrt / default.nix
blob6ad2ab682e4b5f424c7c4774f3c6561f67a6a2d6
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "pyasuswrt";
11   version = "0.1.21";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "ollo69";
18     repo = "pyasuswrt";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-kg475AWmc0i/W4dBg8jFmNyz3V67xjvzPkSlS09/9Oc=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     aiohttp
29   ];
31   # Tests require physical hardware
32   doCheck = false;
34   pythonImportsCheck = [
35     "pyasuswrt"
36   ];
38   meta = with lib; {
39     description = "Library for communication with ASUSWRT routers via HTTP";
40     homepage = "https://github.com/ollo69/pyasuswrt";
41     changelog = "https://github.com/ollo69/pyasuswrt/releases/tag/v${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ ];
44   };