Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 836 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5 6# propagates 7, importlib-resources 8, pyyaml 9 10# tests 11, pytestCheckHook 12}: 13 14let 15 pname = "hassil"; 16 version = "1.0.6"; 17in 18buildPythonPackage { 19 inherit pname version; 20 format = "setuptools"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-rCSVKFIkfPg2aYFwuYVLMxMO8S11dV8f4eckpFbNB3k="; 25 }; 26 27 propagatedBuildInputs = [ 28 pyyaml 29 ] ++ lib.optionals (pythonOlder "3.9") [ 30 importlib-resources 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 meta = with lib; { 38 changelog = "https://github.com/home-assistant/hassil/releases/tag/v${version}"; 39 description = "Intent parsing for Home Assistant"; 40 homepage = "https://github.com/home-assistant/hassil"; 41 license = licenses.asl20; 42 maintainers = teams.home-assistant.members; 43 }; 44}