1{
2 buildPythonPackage,
3 cryptography,
4 fetchFromGitHub,
5 lib,
6 requests,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "ihcsdk";
12 version = "2.8.9";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "dingusdk";
17 repo = "PythonIhcSdk";
18 tag = "v${version}";
19 hash = "sha256-WI9RjVR2KdLaqklGtIUJErV4pBfffXx3odu3hdoyLWc=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 cryptography
26 requests
27 ];
28
29 pythonImportsCheck = [ "ihcsdk" ];
30
31 # upstream has no tests
32 doCheck = false;
33
34 meta = {
35 changelog = "https://github.com/dingusdk/PythonIhcSdk/releases/tag/v${version}";
36 description = "SDK for connection to the LK IHC Controller";
37 homepage = "https://github.com/dingusdk/PythonIhcSdk";
38 license = lib.licenses.gpl3Plus;
39 maintainers = with lib.maintainers; [ dotlambda ];
40 };
41}