about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hassil/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/hassil/default.nix')
-rw-r--r--pkgs/development/python-modules/hassil/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/hassil/default.nix b/pkgs/development/python-modules/hassil/default.nix
index 6059ce3cb5e6..65b97fd7c485 100644
--- a/pkgs/development/python-modules/hassil/default.nix
+++ b/pkgs/development/python-modules/hassil/default.nix
@@ -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;