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

17 lines
269 B
Nix
Raw Normal View History

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