1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, urllib3 6}: 7 8buildPythonPackage rec { 9 pname = "unifiled"; 10 version = "1.1"; 11 12 src = fetchFromGitHub { 13 owner = "florisvdk"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "1nmqxxhwa0isxdb889nhbp7w4axj1mcrwd3pr9d8nhpw4yj9h3vq"; 17 }; 18 19 propagatedBuildInputs = [ 20 requests 21 urllib3 22 ]; 23 24 # Project doesn't have any tests 25 doCheck = false; 26 pythonImportsCheck = [ "unifiled" ]; 27 28 meta = with lib; { 29 description = "Python module for Ubiquiti Unifi LED controller"; 30 homepage = "https://github.com/florisvdk/unifiled"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}