at master 736 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "qnap-qsw"; 11 version = "0.3.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchFromGitHub { 17 owner = "Noltari"; 18 repo = "python-qnap-qsw"; 19 rev = version; 20 sha256 = "WP1bGt7aAtSVFOMJgPXKqVSbi5zj9K7qoIVrYCrPGqk="; 21 }; 22 23 propagatedBuildInputs = [ requests ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "qnap_qsw" ]; 29 30 meta = with lib; { 31 description = "Python library to interact with the QNAP QSW API"; 32 homepage = "https://github.com/Noltari/python-qnap-qsw"; 33 license = licenses.gpl2Only; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}