Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / hassil / default.nix
blob98c4181d48c2166806395efa3c66ad7bc69ea05c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
6 # propagates
7 , pyyaml
8 , unicode-rbnf
10 # tests
11 , pytestCheckHook
14 let
15   pname = "hassil";
16   version = "1.6.1";
18 buildPythonPackage {
19   inherit pname version;
20   format = "setuptools";
22   disabled = pythonOlder "3.9";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-jkPo02Jy6UqyC5YvwMw+DDkT8rG5Xe4EiNVED/JHzKc=";
27   };
29   propagatedBuildInputs = [
30     pyyaml
31     unicode-rbnf
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36   ];
38   meta = with lib; {
39     changelog  = "https://github.com/home-assistant/hassil/blob/v${version}/CHANGELOG.md";
40     description = "Intent parsing for Home Assistant";
41     mainProgram = "hassil";
42     homepage = "https://github.com/home-assistant/hassil";
43     license = licenses.asl20;
44     maintainers = teams.home-assistant.members;
45   };