at master 878 B view raw
1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lib, 6 poetry-core, 7 pytest-asyncio, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "tilt-pi"; 13 version = "0.2.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "michaelheyman"; 18 repo = "tilt-pi"; 19 tag = "v${version}"; 20 hash = "sha256-jGy7nwSblF486ldt4ShBEmmZtb0c4+7IuI10cN7Bw1A="; 21 }; 22 23 build-system = [ poetry-core ]; 24 25 dependencies = [ 26 aiohttp 27 ]; 28 29 pythonImportsCheck = [ "tiltpi" ]; 30 31 nativeCheckInputs = [ 32 pytest-asyncio 33 pytestCheckHook 34 ]; 35 36 meta = { 37 changelog = "https://github.com/michaelheyman/tilt-pi/releases/tag/${src.tag}"; 38 description = "Python client for interacting with the Tilt Pi API"; 39 homepage = "https://github.com/michaelheyman/tilt-pi"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ dotlambda ]; 42 }; 43}