fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
38 lines
879 B
Nix
38 lines
879 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynetgear";
|
|
version = "0.10.10";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MatMaul";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-5Lj2cK/SOGgaPu8dI9X3Leg4dPAY7tdIHCzFnNaube8=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/MatMaul/pynetgear/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|