Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pynetgear / default.nix
blob1a20de636537b3f18cf8baec0a41ca9bd0dab1b9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pynetgear";
10   version = "0.10.10";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "MatMaul";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-5Lj2cK/SOGgaPu8dI9X3Leg4dPAY7tdIHCzFnNaube8=";
20   };
22   propagatedBuildInputs = [
23     requests
24   ];
26   pythonImportsCheck = [
27     "pynetgear"
28   ];
30   # Tests don't pass
31   # https://github.com/MatMaul/pynetgear/issues/109
32   doCheck = false;
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   };