My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pynetgear/default.nix

40 lines
805 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pynetgear";
version = "0.10.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MatMaul";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-XGD1kA64rUC6WvG7VGX+f3g7fBvWqfA4ujiWAQzKeEA=";
};
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 ];
};
}