Merge pull request #170133 from fabaff/arris-tg2492lg
python3Packages.arris-tg2492lg: init at 2.1.0
This commit is contained in:
commit
57101f5c77
3 changed files with 47 additions and 1 deletions
43
pkgs/development/python-modules/arris-tg2492lg/default.nix
Normal file
43
pkgs/development/python-modules/arris-tg2492lg/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "arris-tg2492lg";
|
||||||
|
version = "2.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vanbalken";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-C1o9HWWJ/G/7Pp6I0FbRmX2PQvUJx71L9wHRkUMtnL4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-aiohttp
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"arris_tg2492lg"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Library to connect to an Arris TG2492LG";
|
||||||
|
homepage = "https://github.com/vanbalken/arris-tg2492lg";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -162,7 +162,8 @@
|
||||||
pyarlo
|
pyarlo
|
||||||
];
|
];
|
||||||
"arris_tg2492lg" = ps: with ps; [
|
"arris_tg2492lg" = ps: with ps; [
|
||||||
]; # missing inputs: arris-tg2492lg
|
arris-tg2492lg
|
||||||
|
];
|
||||||
"aruba" = ps: with ps; [
|
"aruba" = ps: with ps; [
|
||||||
pexpect
|
pexpect
|
||||||
];
|
];
|
||||||
|
|
|
@ -631,6 +631,8 @@ in {
|
||||||
|
|
||||||
arrayqueues = callPackage ../development/python-modules/arrayqueues { };
|
arrayqueues = callPackage ../development/python-modules/arrayqueues { };
|
||||||
|
|
||||||
|
arris-tg2492lg = callPackage ../development/python-modules/arris-tg2492lg { };
|
||||||
|
|
||||||
arrow = callPackage ../development/python-modules/arrow { };
|
arrow = callPackage ../development/python-modules/arrow { };
|
||||||
|
|
||||||
arviz = callPackage ../development/python-modules/arviz { };
|
arviz = callPackage ../development/python-modules/arviz { };
|
||||||
|
|
Loading…
Reference in a new issue