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