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