blob: 45cf533db1708507be3c16941859d31db16849bc (
about) (
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
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pyjwt,
pypasser,
requests,
pythonOlder,
}:
buildPythonPackage rec {
pname = "tami4edgeapi";
version = "3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Guy293";
repo = "Tami4EdgeAPI";
tag = "v${version}";
hash = "sha256-rhJ8L6qLDnO50Xp2eqquRinDTQjMxWVSjNL5GQI1gvM=";
};
build-system = [ setuptools ];
dependencies = [
pyjwt
pypasser
requests
];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "Tami4EdgeAPI" ];
meta = {
description = "Python API client for Tami4 Edge / Edge+ devices";
homepage = "https://github.com/Guy293/Tami4EdgeAPI";
changelog = "https://github.com/Guy293/Tami4EdgeAPI/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|