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