blob: ea49f861becdf0f6611a0b24df7256d9826b4c4f (
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
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pyserial-asyncio-fast,
pytestCheckHook,
pythonOlder,
pytz,
}:
buildPythonPackage rec {
pname = "upb-lib";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "gwww";
repo = "upb-lib";
tag = version;
hash = "sha256-tjmsg8t2/WEjnRHyqN2lxsAgfISV1uAnhmq2dXAG15A=";
};
build-system = [ hatchling ];
dependencies = [
pyserial-asyncio-fast
pytz
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "upb_lib" ];
meta = {
description = "Library for interacting with UPB PIM";
homepage = "https://github.com/gwww/upb-lib";
changelog = "https://github.com/gwww/upb-lib/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|