at master 874 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8 wheel, 9}: 10 11buildPythonPackage rec { 12 pname = "aioqsw"; 13 version = "0.4.1"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.11"; 17 18 src = fetchFromGitHub { 19 owner = "Noltari"; 20 repo = "aioqsw"; 21 tag = version; 22 hash = "sha256-h/rTwMF3lc/hWwpzCvK6UMq0rjq3xkw/tEY3BqOPS2s="; 23 }; 24 25 nativeBuildInputs = [ 26 setuptools 27 wheel 28 ]; 29 30 propagatedBuildInputs = [ aiohttp ]; 31 32 # Module has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "aioqsw" ]; 36 37 meta = with lib; { 38 description = "Library to fetch data from QNAP QSW switches"; 39 homepage = "https://github.com/Noltari/aioqsw"; 40 changelog = "https://github.com/Noltari/aioqsw/releases/tag/${version}"; 41 license = with licenses; [ asl20 ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}