mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #159239 from fabaff/pynetgear
This commit is contained in:
commit
59c63a0fbf
40
pkgs/development/python-modules/pynetgear/default.nix
Normal file
40
pkgs/development/python-modules/pynetgear/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynetgear";
|
||||
version = "0.9.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MatMaul";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-sLGr8I0LcLPrmQZ6dI+hwRAiNCrnLtr2WU04rPoG4x4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pynetgear"
|
||||
];
|
||||
|
||||
# Tests don't pass
|
||||
# https://github.com/MatMaul/pynetgear/issues/109
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with Netgear wireless routers";
|
||||
homepage = "https://github.com/MatMaul/pynetgear";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -569,7 +569,7 @@
|
||||
"nest" = ps: with ps; [ aiohttp-cors google-nest-sdm ha-ffmpeg python-nest ];
|
||||
"netatmo" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyatmo ];
|
||||
"netdata" = ps: with ps; [ netdata ];
|
||||
"netgear" = ps: with ps; [ ]; # missing inputs: pynetgear
|
||||
"netgear" = ps: with ps; [ pynetgear ];
|
||||
"netgear_lte" = ps: with ps; [ eternalegypt ];
|
||||
"netio" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pynetio
|
||||
"network" = ps: with ps; [ aiohttp-cors ifaddr ];
|
||||
@ -1368,6 +1368,7 @@
|
||||
"ness_alarm"
|
||||
"nest"
|
||||
"netatmo"
|
||||
"netgear"
|
||||
"network"
|
||||
"nexia"
|
||||
"nightscout"
|
||||
|
@ -7208,6 +7208,8 @@ in {
|
||||
|
||||
pynetdicom = callPackage ../development/python-modules/pynetdicom { };
|
||||
|
||||
pynetgear = callPackage ../development/python-modules/pynetgear { };
|
||||
|
||||
pynina = callPackage ../development/python-modules/pynina { };
|
||||
|
||||
pynisher = callPackage ../development/python-modules/pynisher { };
|
||||
|
Loading…
Reference in New Issue
Block a user