python311Packages.hassil: 1.2.5 -> 1.5.1

https://github.com/home-assistant/hassil/blob/v1.5.1/CHANGELOG.md
This commit is contained in:
Martin Weinelt 2023-11-08 21:46:00 +01:00
parent 790473b772
commit 9c6459db37
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -4,8 +4,8 @@
, pythonOlder
# propagates
, importlib-resources
, pyyaml
, unicode-rbnf
# tests
, pytestCheckHook
@ -13,21 +13,22 @@
let
pname = "hassil";
version = "1.2.5";
version = "1.5.1";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-udOkZILoba2+eR8oSFThsB846COaIXawwRYhn261mCA=";
hash = "sha256-GLvDT8BUBvEzgiqKaXokF912g3fOH+KsXnmeOXIwe9U=";
};
propagatedBuildInputs = [
pyyaml
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
unicode-rbnf
];
nativeCheckInputs = [
@ -35,7 +36,7 @@ buildPythonPackage {
];
meta = with lib; {
changelog = "https://github.com/home-assistant/hassil/releases/tag/v${version}";
changelog = "https://github.com/home-assistant/hassil/blob/v${version}/CHANGELOG.md";
description = "Intent parsing for Home Assistant";
homepage = "https://github.com/home-assistant/hassil";
license = licenses.asl20;