Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 55 lines 1.0 kB view raw
1{ lib 2, aiohttp 3, aresponses 4, asynctest 5, buildPythonPackage 6, dateparser 7, fetchFromGitHub 8, haversine 9, pytest-asyncio 10, pytestCheckHook 11, pythonOlder 12, requests 13, xmltodict 14}: 15 16buildPythonPackage rec { 17 pname = "aio-georss-client"; 18 version = "0.10"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "exxamalte"; 25 repo = "python-aio-georss-client"; 26 rev = "v${version}"; 27 sha256 = "sha256-g/BlRRBImJihVlAfSMsPIPV0GJns0/pStF8TKSxpDI4="; 28 }; 29 30 propagatedBuildInputs = [ 31 aiohttp 32 haversine 33 xmltodict 34 requests 35 dateparser 36 ]; 37 38 checkInputs = [ 39 aresponses 40 asynctest 41 pytest-asyncio 42 pytestCheckHook 43 ]; 44 45 pythonImportsCheck = [ 46 "aio_georss_client" 47 ]; 48 49 meta = with lib; { 50 description = "Python library for accessing GeoRSS feeds"; 51 homepage = "https://github.com/exxamalte/python-aio-georss-client"; 52 license = with licenses; [ asl20 ]; 53 maintainers = with maintainers; [ fab ]; 54 }; 55}