blob: 1f5812b44c1a1328d851aa6897df512dddad045a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
six,
mock,
tox,
}:
buildPythonPackage rec {
pname = "routeros-api";
version = "0.17.0";
format = "setuptools";
# 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;
};
}
|