at master 1.2 kB view raw
1{ 2 lib, 3 aiodns, 4 aiohttp, 5 async-timeout, 6 attrs, 7 brotlipy, 8 buildPythonPackage, 9 faust-cchardet, 10 click, 11 colorama, 12 fetchFromGitHub, 13 halo, 14 poetry-core, 15 pythonOlder, 16 requests, 17 rich, 18}: 19 20buildPythonPackage rec { 21 pname = "surepy"; 22 version = "0.9.0"; 23 pyproject = true; 24 25 disabled = pythonOlder "3.8"; 26 27 src = fetchFromGitHub { 28 owner = "benleb"; 29 repo = "surepy"; 30 tag = "v${version}"; 31 hash = "sha256-ETgpXSUUsV1xoZjdnL2bzn4HwDjKC2t13yXwf28OBqI="; 32 }; 33 34 pythonRelaxDeps = [ 35 "aiohttp" 36 "async-timeout" 37 "rich" 38 ]; 39 40 build-system = [ poetry-core ]; 41 42 dependencies = [ 43 aiodns 44 aiohttp 45 async-timeout 46 attrs 47 brotlipy 48 click 49 colorama 50 faust-cchardet 51 halo 52 requests 53 rich 54 ]; 55 56 # Project has no tests 57 doCheck = false; 58 59 pythonImportsCheck = [ "surepy" ]; 60 61 meta = with lib; { 62 description = "Python library to interact with the Sure Petcare API"; 63 homepage = "https://github.com/benleb/surepy"; 64 changelog = "https://github.com/benleb/surepy/releases/tag/v${src.tag}"; 65 license = licenses.mit; 66 maintainers = with maintainers; [ fab ]; 67 mainProgram = "surepy"; 68 }; 69}