blob: bead558a6cb54626101b44741512312dc60c82e4 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "youless-api";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "gjong";
repo = "youless-python-bridge";
tag = version;
hash = "sha256-BAIwShbIZaX5QOkxajwv6vtL8/EouHA3ELCLAm9ylKA=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "youless_api" ];
meta = {
description = "Python library for YouLess sensors";
homepage = "https://github.com/gjong/youless-python-bridge";
changelog = "https://github.com/gjong/youless-python-bridge/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|