Commit f01bd0ac authored by Dennis's avatar Dennis
Browse files

sensai-utils: init at 1.4.0

parent 4622ddb9
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "sensai-utils";
  version = "1.4.0";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "opcode81";
    repo = "sensAI-utils";
    tag = "v${version}";
    hash = "sha256-XgZv76tLeTRCvNptasp8EiU2DC+HWkc1xhlCA+YiUZY=";
  };

  build-system = [ setuptools ];

  dependencies = [ typing-extensions ];

  pythonImportsCheck = [ "sensai.util" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Utilities from sensAI, the Python library for sensible AI";
    homepage = "https://github.com/opcode81/sensAI-utils";
    changelog = "https://github.com/opcode81/sensAI-utils/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ derdennisop ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14837,6 +14837,8 @@ self: super: with self; {
  senf = callPackage ../development/python-modules/senf { };
  sensai-utils = callPackage ../development/python-modules/sensai-utils { };
  sense-energy = callPackage ../development/python-modules/sense-energy { };
  sensirion-ble = callPackage ../development/python-modules/sensirion-ble { };