1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pycryptodome, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pyrecswitch"; 11 version = "1.0.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "marcolertora"; 16 repo = "pyrecswitch"; 17 tag = version; 18 hash = "sha256-z9dOJ7WgUR2ntU6boUInRyKxSPBSoNWGtE3pOZcFYA0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ pycryptodome ]; 24 25 # Package has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pyrecswitch" ]; 29 30 meta = { 31 description = "Pure-python interface for controlling Ankuoo RecSwitch MS6126"; 32 homepage = "https://github.com/marcolertora/pyrecswitch"; 33 license = lib.licenses.agpl3Plus; 34 maintainers = [ lib.maintainers.jamiemagee ]; 35 }; 36}