1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pynetgear"; 10 version = "0.10.10"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "MatMaul"; 17 repo = pname; 18 rev = "refs/tags/${version}"; 19 hash = "sha256-5Lj2cK/SOGgaPu8dI9X3Leg4dPAY7tdIHCzFnNaube8="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 ]; 25 26 pythonImportsCheck = [ 27 "pynetgear" 28 ]; 29 30 # Tests don't pass 31 # https://github.com/MatMaul/pynetgear/issues/109 32 doCheck = false; 33 34 meta = with lib; { 35 description = "Module for interacting with Netgear wireless routers"; 36 homepage = "https://github.com/MatMaul/pynetgear"; 37 changelog = "https://github.com/MatMaul/pynetgear/releases/tag/${version}"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}