Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 46 lines 937 B view raw
1{ lib 2, aiohttp 3, aioresponses 4, buildPythonPackage 5, fetchFromGitHub 6, pytest-asyncio 7, pytestCheckHook 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "aiopegelonline"; 13 version = "0.0.7"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchFromGitHub { 19 owner = "mib1185"; 20 repo = "aiopegelonline"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-r+5b52N/vliKHx6qOLJ4lWcQt1TPEcn5Dz7cZNhRbNg="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp 27 ]; 28 29 nativeCheckInputs = [ 30 aioresponses 31 pytest-asyncio 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "aiopegelonline" 37 ]; 38 39 meta = with lib; { 40 description = "Library to retrieve data from PEGELONLINE"; 41 homepage = "https://github.com/mib1185/aiopegelonline"; 42 changelog = "https://github.com/mib1185/aiopegelonline/releases/tag/v${version}"; 43 license = licenses.asl20; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}