mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
16 lines
269 B
Nix
16 lines
269 B
Nix
{ buildPythonPackage, usbrelay }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "usbrelay_py";
|
|
inherit (usbrelay) version src;
|
|
|
|
preConfigure = ''
|
|
cd usbrelay_py
|
|
'';
|
|
|
|
buildInputs = [ usbrelay ];
|
|
|
|
pythonImportsCheck = [ "usbrelay_py" ];
|
|
|
|
inherit (usbrelay) meta;
|
|
}
|