Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 netifaces, 7 python-engineio, 8 python-socketio, 9 pythonOlder, 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 32 propagatedBuildInputs = [ 33 aiohttp 34 netifaces 35 python-engineio 36 python-socketio 37 ]; 38 39 # Module has no tests 40 doCheck = false; 41 42 pythonImportsCheck = [ "sisyphus_control" ]; 43 44 meta = with lib; { 45 description = "Control your Sisyphus Kinetic Art Table"; 46 homepage = "https://github.com/jkeljo/sisyphus-control"; 47 changelog = "https://github.com/jkeljo/sisyphus-control/blob/${version}/CHANGELOG.rst"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}