diff options
Diffstat (limited to 'pkgs/os-specific/linux/usbrelay/python.nix')
-rw-r--r-- | pkgs/os-specific/linux/usbrelay/python.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/usbrelay/python.nix b/pkgs/os-specific/linux/usbrelay/python.nix new file mode 100644 index 00000000000..90838295ecb --- /dev/null +++ b/pkgs/os-specific/linux/usbrelay/python.nix @@ -0,0 +1,16 @@ +{ buildPythonPackage, usbrelay }: + +buildPythonPackage { + pname = "usbrelay_py"; + inherit (usbrelay) version src; + + preConfigure = '' + cd usbrelay_py + ''; + + buildInputs = [ usbrelay ]; + + pythonImportsCheck = [ "usbrelay_py" ]; + + inherit (usbrelay) meta; +} |