sensai-utils: init at 1.4.0

Dennis f01bd0ac 4622ddb9

+42
+40
pkgs/development/python-modules/sensai-utils/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pytestCheckHook, 6 + pythonOlder, 7 + setuptools, 8 + typing-extensions, 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "sensai-utils"; 13 + version = "1.4.0"; 14 + pyproject = true; 15 + 16 + disabled = pythonOlder "3.11"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "opcode81"; 20 + repo = "sensAI-utils"; 21 + tag = "v${version}"; 22 + hash = "sha256-XgZv76tLeTRCvNptasp8EiU2DC+HWkc1xhlCA+YiUZY="; 23 + }; 24 + 25 + build-system = [ setuptools ]; 26 + 27 + dependencies = [ typing-extensions ]; 28 + 29 + pythonImportsCheck = [ "sensai.util" ]; 30 + 31 + nativeCheckInputs = [ pytestCheckHook ]; 32 + 33 + meta = with lib; { 34 + description = "Utilities from sensAI, the Python library for sensible AI"; 35 + homepage = "https://github.com/opcode81/sensAI-utils"; 36 + changelog = "https://github.com/opcode81/sensAI-utils/releases/tag/v${version}"; 37 + license = licenses.mit; 38 + maintainers = with maintainers; [ derdennisop ]; 39 + }; 40 + }
+2
pkgs/top-level/python-packages.nix
··· 14837 14837 14838 14838 senf = callPackage ../development/python-modules/senf { }; 14839 14839 14840 + sensai-utils = callPackage ../development/python-modules/sensai-utils { }; 14841 + 14840 14842 sense-energy = callPackage ../development/python-modules/sense-energy { }; 14841 14843 14842 14844 sensirion-ble = callPackage ../development/python-modules/sensirion-ble { };