nixpkgs/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

2022-03-29 23:54:42 +02:00
{ buildPythonPackage, usbrelay }:
buildPythonPackage {
2022-03-29 23:54:42 +02:00
pname = "usbrelay_py";
inherit (usbrelay) version src;
2022-09-17 00:19:18 +02:00
preConfigure = ''
cd usbrelay_py
'';
2022-03-29 23:54:42 +02:00
buildInputs = [ usbrelay ];
pythonImportsCheck = [ "usbrelay_py" ];
inherit (usbrelay) meta;
}