at master 895 B view raw
1{ 2 aiohttp, 3 aioresponses, 4 buildPythonPackage, 5 fetchFromGitHub, 6 lib, 7 poetry-core, 8 pytest-asyncio, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "vegehub"; 14 version = "0.1.24"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "Thulrus"; 19 repo = "VegeHubPyPiLib"; 20 tag = "V${version}"; 21 hash = "sha256-W/5kvertNC7w2IS/N5k06cDyNFgel2s4/znR+Lz5RJU="; 22 }; 23 24 postPatch = '' 25 rm -r dist 26 ''; 27 28 build-system = [ poetry-core ]; 29 30 dependencies = [ 31 aiohttp 32 ]; 33 34 pythonImportsCheck = [ "vegehub" ]; 35 36 nativeCheckInputs = [ 37 aioresponses 38 pytest-asyncio 39 pytestCheckHook 40 ]; 41 42 meta = { 43 description = "Basic package for simplifying interactions with the Vegetronix VegeHub"; 44 homepage = "https://github.com/Thulrus/VegeHubPyPiLib"; 45 license = lib.licenses.gpl3Plus; 46 maintainers = with lib.maintainers; [ dotlambda ]; 47 }; 48}