Merge pull request #231701 from quentinmit/routeros-api
This commit is contained in:
commit
3eace898b2
2 changed files with 37 additions and 0 deletions
35
pkgs/development/python-modules/routeros-api/default.nix
Normal file
35
pkgs/development/python-modules/routeros-api/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, six
|
||||
, mock
|
||||
, tox
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "routeros-api";
|
||||
version = "0.17.0";
|
||||
|
||||
# N.B. The version published on PyPI is missing tests.
|
||||
src = fetchFromGitHub {
|
||||
owner = "socialwifi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "wpIfeYZ1w/yoNCHLYFVjn0O4Rb+N5lfvYzhGuN+HDTA=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
tox
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API to RouterBoard devices produced by MikroTik.";
|
||||
homepage = "https://github.com/socialwifi/RouterOS-api";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ quentin ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -10813,6 +10813,8 @@ self: super: with self; {
|
|||
|
||||
rouge-score = callPackage ../development/python-modules/rouge-score { };
|
||||
|
||||
routeros-api = callPackage ../development/python-modules/routeros-api { };
|
||||
|
||||
routes = callPackage ../development/python-modules/routes { };
|
||||
|
||||
rova = callPackage ../development/python-modules/rova { };
|
||||
|
|
Loading…
Reference in a new issue