17 lines
265 B
Nix
17 lines
265 B
Nix
|
{ buildPythonPackage, usbrelay }:
|
||
|
|
||
|
buildPythonPackage {
|
||
|
pname = "usbrelay_py";
|
||
|
inherit (usbrelay) version src;
|
||
|
|
||
|
preConfigure = ''
|
||
|
cd usbrelay_py
|
||
|
'';
|
||
|
|
||
|
buildInputs = [ usbrelay ];
|
||
|
|
||
|
pythonImportsCheck = [ "usbrelay_py" ];
|
||
|
|
||
|
inherit (usbrelay) meta;
|
||
|
}
|