Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 poetry-core, 7 pytestCheckHook, 8 pytest-cov-stub, 9 pythonOlder, 10 xmltodict, 11}: 12 13buildPythonPackage rec { 14 pname = "aiosteamist"; 15 version = "1.0.1"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.10"; 19 20 src = fetchFromGitHub { 21 owner = "bdraco"; 22 repo = "aiosteamist"; 23 tag = "v${version}"; 24 hash = "sha256-e7Nt/o2A1qn2nSpWv6ZsZHn/WpcXKzol+f+JNJaSb4w="; 25 }; 26 27 build-system = [ poetry-core ]; 28 29 dependencies = [ 30 aiohttp 31 xmltodict 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 pytest-cov-stub 37 ]; 38 39 pythonImportsCheck = [ "aiosteamist" ]; 40 41 meta = with lib; { 42 description = "Module to control Steamist steam systems"; 43 homepage = "https://github.com/bdraco/aiosteamist"; 44 changelog = "https://github.com/bdraco/aiosteamist/releases/tag/v${version}"; 45 license = licenses.asl20; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}