1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pexpect 5, python-slugify 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pyruckus"; 11 version = "0.14"; 12 disabled = pythonOlder "3.6"; 13 14 src = fetchFromGitHub { 15 owner = "gabe565"; 16 repo = pname; 17 rev = version; 18 sha256 = "069asvx7g2gywpmid0cbf84mlzhgha4yqd47y09syz09zgv34a36"; 19 }; 20 21 propagatedBuildInputs = [ 22 pexpect 23 python-slugify 24 ]; 25 26 # Tests requires network features 27 doCheck = false; 28 pythonImportsCheck = [ "pyruckus" ]; 29 30 meta = with lib; { 31 description = "Python client for Ruckus Unleashed"; 32 homepage = "https://github.com/gabe565/pyruckus"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}