2023-02-02 18:25:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2024-02-29 20:09:43 +00:00
|
|
|
, fetchPypi
|
2023-02-02 18:25:31 +00:00
|
|
|
, pythonOlder
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
# build-system
|
2023-10-09 19:29:22 +00:00
|
|
|
, setuptools
|
2023-02-02 18:25:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "home-assistant-intents";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2024.4.3";
|
|
|
|
format = "wheel";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
inherit version format;
|
|
|
|
pname = "home_assistant_intents";
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
|
|
|
hash = "sha256-GraYVtioKIoKlPRBhhhzlbBfI6heXAaA1MQpUqAgEDQ=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
2023-02-02 18:25:31 +00:00
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
# sdist/wheel do not ship tests
|
2024-02-29 20:09:43 +00:00
|
|
|
doCheck = false;
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
pytestFlagsArray = [
|
2023-08-04 22:07:22 +00:00
|
|
|
"intents/tests"
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Intents to be used with Home Assistant";
|
|
|
|
homepage = "https://github.com/home-assistant/intents";
|
|
|
|
license = licenses.cc-by-40;
|
|
|
|
maintainers = teams.home-assistant.members;
|
|
|
|
};
|
|
|
|
}
|