blob: 8f33c29ef461bcfa165760944d25baa08792f65b (
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
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
grpcio,
hatchling,
hatch-vcs,
protobuf,
}:
buildPythonPackage rec {
pname = "ghome-foyer-api";
version = "1.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "KapJI";
repo = "ghome-foyer-api";
tag = "v${version}";
hash = "sha256-hIprnkfAUbKoAp++sxu+T7MuGqLKOM1N1hqGBDOSo3k=";
};
buildInputs = [
hatchling
hatch-vcs
];
dependencies = [
grpcio
protobuf
];
doCheck = false; # no tests
pythonRelaxDeps = [ "protobuf" ];
meta = {
description = "Generated Python protobuf stubs for Google Home internal API";
homepage = "https://github.com/KapJI/ghome-foyer-api";
changelog = "https://github.com/KapJI/ghome-foyer-api/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
hensoko
];
};
}
|