1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{ buildPythonPackage, usbrelay }: buildPythonPackage { format = "setuptools"; pname = "usbrelay_py"; inherit (usbrelay) version src; preConfigure = '' cd usbrelay_py ''; buildInputs = [ usbrelay ]; pythonImportsCheck = [ "usbrelay_py" ]; inherit (usbrelay) meta; }