1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 netifaces,
7 python-engineio,
8 python-socketio,
9 pythonOlder,
10 pythonRelaxDepsHook,
11}:
12
13buildPythonPackage rec {
14 pname = "sisyphus-control";
15 version = "3.1.3";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.8";
19
20 src = fetchFromGitHub {
21 owner = "jkeljo";
22 repo = "sisyphus-control";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-FbZWvsm2NT9a7TgHKWh/LHPsse6NBLK2grlOtHDbV2Y=";
25 };
26
27 pythonRelaxDeps = [
28 "python-engineio"
29 "python-socketio"
30 ];
31
32 nativeBuildInputs = [ pythonRelaxDepsHook ];
33
34 propagatedBuildInputs = [
35 aiohttp
36 netifaces
37 python-engineio
38 python-socketio
39 ];
40
41 # Module has no tests
42 doCheck = false;
43
44 pythonImportsCheck = [ "sisyphus_control" ];
45
46 meta = with lib; {
47 description = "Control your Sisyphus Kinetic Art Table";
48 homepage = "https://github.com/jkeljo/sisyphus-control";
49 changelog = "https://github.com/jkeljo/sisyphus-control/blob/${version}/CHANGELOG.rst";
50 license = licenses.mit;
51 maintainers = with maintainers; [ fab ];
52 };
53}