Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 831 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "aioqsw"; 11 version = "0.3.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "Noltari"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-Z7Q9b+ameddvGu9KJUNsaqOHiu0qXnpzuiZwg+/0+64="; 21 }; 22 23 propagatedBuildInputs = [ 24 aiohttp 25 ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "aioqsw" 32 ]; 33 34 meta = with lib; { 35 description = "Library to fetch data from QNAP QSW switches"; 36 homepage = "https://github.com/Noltari/aioqsw"; 37 changelog = "https://github.com/Noltari/aioqsw/releases/tag/${version}"; 38 license = with licenses; [ asl20 ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}