depot/pkgs/os-specific/linux/usbrelay/python.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
265 B
Nix
Raw Normal View History

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