python3Packages.pynetgear: init at 0.9.1
This commit is contained in:
parent
a2c0cb0db7
commit
9eec624fa9
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 ];
|
||||
};
|
||||
}
|
@ -7206,6 +7206,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