sensai-utils: init at 1.4.0
This commit is contained in:
parent
4622ddb9cb
commit
f01bd0aca2
40
pkgs/development/python-modules/sensai-utils/default.nix
Normal file
40
pkgs/development/python-modules/sensai-utils/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user