11 buildPythonPackage rec {
12 pname = "openwrt-ubus-rpc";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
20 repo = "python-ubus-rpc";
21 rev = "refs/tags/${version}";
22 hash = "sha256-M4hbnGrAjBjohwgMf6qw5NQnpyKCZ0/4HVklHhizTKc=";
25 build-system = [ setuptools ];
32 # Project has no tests
35 pythonImportsCheck = [ "openwrt.ubus" ];
38 description = "Python API for OpenWrt ubus RPC";
39 homepage = "https://github.com/Noltari/python-ubus-rpc";
40 changelog = "https://github.com/Noltari/python-ubus-rpc/releases/tag/${version}";
41 license = with licenses; [ gpl2Only ];
42 maintainers = with maintainers; [ fab ];