10 buildPythonPackage rec {
11 pname = "librouteros";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-VwpZ1RY6Sul7xvWY7ZoOxZ7KgbRmKRwcVdF9e2b3f6Q=";
34 # Disable tests which require QEMU to run
38 "test_add_then_remove"
39 "test_add_then_update"
40 "test_generator_ditch"
41 # AttributeError: 'called_once_with' is not a valid assertion
42 "test_rawCmd_calls_writeSentence"
45 pythonImportsCheck = [
50 description = "Python implementation of the MikroTik RouterOS API";
51 homepage = "https://librouteros.readthedocs.io/";
52 changelog = "https://github.com/luqasz/librouteros/blob/${version}/CHANGELOG.rst";
53 license = with licenses; [ gpl2Only ];
54 maintainers = with maintainers; [ fab ];