1{ lib 2, asyncio-dgram 3, buildPythonPackage 4, click 5, dnspython 6, fetchFromGitHub 7, mock 8, pytest-asyncio 9, pytestCheckHook 10, pythonOlder 11, six 12}: 13 14buildPythonPackage rec { 15 pname = "mcstatus"; 16 version = "6.5.0"; 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "Dinnerbone"; 21 repo = pname; 22 rev = "v${version}"; 23 sha256 = "00xi3452lap4zx38msx89vvhrzkzb2dvwis1fcmx24qngj9g3yfr"; 24 }; 25 26 propagatedBuildInputs = [ 27 asyncio-dgram 28 click 29 dnspython 30 six 31 ]; 32 33 checkInputs = [ 34 mock 35 pytest-asyncio 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "mcstatus" ]; 40 41 meta = with lib; { 42 description = "Python library for checking the status of Minecraft servers"; 43 homepage = "https://github.com/Dinnerbone/mcstatus"; 44 license = with licenses; [ asl20 ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}