Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 52 lines 974 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 7 # build-system 8 setuptools, 9 10 # dependencies 11 pyyaml, 12 unicode-rbnf, 13 14 # tests 15 pytestCheckHook, 16}: 17 18let 19 pname = "hassil"; 20 version = "1.7.4"; 21in 22buildPythonPackage { 23 inherit pname version; 24 pyproject = true; 25 26 disabled = pythonOlder "3.9"; 27 28 src = fetchFromGitHub { 29 owner = "home-assistant"; 30 repo = "hassil"; 31 rev = "refs/tags/${version}"; 32 hash = "sha256-FRP5iVE2KBiHVriWhnYxWFff0y4q2/gC9iO8ZzN3AbI="; 33 }; 34 35 build-system = [ setuptools ]; 36 37 dependencies = [ 38 pyyaml 39 unicode-rbnf 40 ]; 41 42 nativeCheckInputs = [ pytestCheckHook ]; 43 44 meta = with lib; { 45 changelog = "https://github.com/home-assistant/hassil/blob/${version}/CHANGELOG.md"; 46 description = "Intent parsing for Home Assistant"; 47 mainProgram = "hassil"; 48 homepage = "https://github.com/home-assistant/hassil"; 49 license = licenses.asl20; 50 maintainers = teams.home-assistant.members; 51 }; 52}