blob: 8364f07a5577ba777a4d0bf0098ee9fec92901cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "sensai-utils";
version = "1.6.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "opcode81";
repo = "sensAI-utils";
tag = "v${version}";
hash = "sha256-E/9pCkSvKeGW1wlO6+YD0glbPrt4aJ7NZ0Kss2VbGdE=";
};
build-system = [ setuptools ];
dependencies = [ typing-extensions ];
pythonImportsCheck = [ "sensai.util" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ derdennisop ];
};
}
|